Use the DeallocateMailbox procedure of the Exchange Resource Manager namespace to release the storage allocation for a mailbox. This procedure changes the status of the Exchange resources for that mailbox and makes them available so that they can be provisioned again.
This procedure expects to be called with impersonate="1". The procedure impersonates the caller.
<request> <execute namespace="Exchange Resource Manager" procedure="DeallocateMailbox"> <executeData> <mailbox>LDAP://cn=ExchUser1,ou=ExchOrg1,dc=contoso,dc=com</mailbox> </executeData> <after source="executeData" destination="data" sourcePath="path" /> </execute> </request>
The following input is valid for this request:
In the <mailbox> element, enter the Lightweight Directory Access Protocol (LDAP) path of the mailbox.
<mailbox>LDAP://LDAP path of the mail-enabled object associated with the mailbox</mailbox>
The response to this procedure does not contain significant data.