Use the DeallocatePublicFolder procedure of the Exchange Resource Manager namespace to release the storage allocation for a public folder. This procedure changes the status of the Exchange resources for that public folder and makes them available so that they can be provisioned again.
Important
This procedure expects to be called with impersonate="1". The procedure impersonates the caller.
<request>
<procedure>
<execute namespace="Exchange Resource Manager" procedure="DeallocatePublicFolder">
<executeData>
<organization>LDAP://ou=ExchOrg1,dc=contoso,dc=com</organization>
<publicStore>
<folderPath>folder1</folderPath>
</publicStore>
</executeData>
<after source="executeData" destination="data" mode="merge" />
</execute>
</procedure>
</request>
The following input is valid for this request:
In the <organization> element, enter the Lightweight Directory Access Protocol (LDAP) path of the organization that owns the public folder.
<organization>LDAP://LDAP path of the hosting organization</organization>
In the <folderPath> element, enter the Exchange path for the public folder to be removed from the pool of allocated resources.
<folderPath>folder path</folderPath>
The response to this procedure does not contain significant data.
Important