Delete a repository item

delete/repository/items/{itemId}
Internal-Use Only

Deletes a repository item. By default, the item is moved to the recycle bin. If the permanent parameter value is set to true, the item is permanently deleted. Note: Contexts are always permanently deleted so the permanent parameter is ignored if the item is a context. Authorization: Requires read and write permission on the parent container as well as read and delete permission on the item.

Request Samples

1

Response Samples

1No example avaliable

Path Parameters

NameTypeRequiredDescription
itemId
string
true

The unique identifier for the repository item.

Examples:
"d6eefec9-dcc2-4574-8af8-69897038d9c5"

Query Parameters

NameTypeRequiredDescription
permanent
boolean
false

Determines whether the deletion should be permanent or logical. Permanent deletion is unrecoverable; logical deletion moves the deleted item to the recycle bin where it can either be recovered or permanently deleted later.

Responses

StatusMeaningDescription
204No ContentThe repository item was deleted.