Unregister Item

URL:
https://<root>/data/unregisterItem
Methods:
POST
Required Capability:
Access allowed with the "Update" privilege, or the 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

ParameterDetails

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:

Use dark colors for code blocksCopy
1
2
3
4
5
6
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

Use dark colors for code blocksCopy
1
{"status": "success"}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.