Delete an Item

delete

/content/management/api/v1.1/items/{id}

Deletes the item. The operation allows the user to delete an Item provided the following conditions are met:
  • Item should be independent, i.e. it should not be referenced by any other item.
  • Item should be Non Translatable; Translatable items can be deleted by using ItemsBulkOperations (refer examples).

Request

Path Parameters
Header Parameters
Back to Top

Response

204 Response

No content.

400 Response

Bad request.

403 Response

Forbidden.

404 Response

Not found.

500 Response

Internal server error.
Back to Top

Examples

The following example shows how to delete the item using ID by submitting a DELETE request on the REST resource using cURL.

curl -i -X DELETE -H 'X-Requested-With: XMLHttpRequest' 'https://host:port/content/management/api/v1.1/items/{id}'

Example:

/content/management/api/v1.1/items/COREFFFEC388CFD044D8A34D2F8C46EA5786

Response Code

HTTP/1.1 204 No Content
Back to Top