- URL:https://<root>/data/unregisterItem(POST only)
- Required Capability:Default administrator role | Update | Publisher role
- Version Introduced:10.9
Description
The unregisterItem operation unregisters a data item that is registered with the server's data store.
Request parameters
Parameter | Details |
---|---|
itemPath | The item path for the data item. |
force | To unregister a data store item, this parameter must be set to true. Values: true | false |
f | The response format. The default format is html. Values: html | json | pjson |
Example usage
The following is a sample POST request for the unregisterItem operation:
POST /context/admin/data/unregisterItem HTTP/1.1
Host: organization.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
path=folderShare/sharedFolder&f=pjson&token=IYaMF43HohYOwZYZYaTOXDiuR9H4MnIaFk48iJgOxapdyKOsQTlRDrbHUUPKw8MHcJPaSJfxTAF8i0ES8obXfXmq-Ki3vQ9Ox1FHGmQwph7dmAx8wX1e2AhavLh2uSIwiWFo9Nj03YzZD_pe5jaEnjBRaulsAJy-as2xpGurWFYf6yFTiWvcl8K9nx16_IJEtlQdo3V-iJSrQDxiBxZxl7ywNmI8DwSqfz9m0fNwNlmb1ZmT2EVBNkRg7o_Oqx8h
JSON Response example
{"status": "success"}