Delete Content
Moves a piece of content to the space's trash or purges it from the trash, depending on the content's type and status:
- If the content's type is
page
orblogpost
and its status iscurrent
, it will be trashed. - If the content's type is
page
orblogpost
and its status istrashed
, the content will be purged from the trash and deleted permanently. Note, you must also set thestatus
query parameter totrashed
in your request. - If the content's type is
comment
orattachment
, it will be deleted permanently without being trashed.
Permissions required: 'Delete' permission for the space that the content is in, and permission to edit the content.
External Documentation
To learn more, visit the Confluence documentation.
Parameters
Parameter | Description |
---|---|
ID | The ID of the content to be deleted. |
Status | Set this to trashed , if the content's status is trashed and you want to purge it. |
Workflow Library Example
Delete Content with Confluence and Send Results Via Email