v1

latestOpenAPI 3.0.32026-07-13218142597.2 KB
Attachment

Delete attachment

Delete an attachment by id.

Deleting an attachment moves the attachment to the trash, where it can be restored later. To permanently delete an attachment (or "purge" it), the endpoint must be called on a trashed attachment with the following param purge=true.

Permissions required: Permission to view the container of the attachment. Permission to delete attachments in the space. Permission to administer the space (if attempting to purge).

delete/attachments/{id}

Path parameters

idinteger required

The ID of the attachment to be deleted.

Query parameters

purgeboolean

If attempting to purge the attachment.

Response

Returned if the attachment was successfully deleted.