> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 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` or `blogpost` and its status is `current`,
  it will be trashed.
* If the content's type is `page` or `blogpost` and its status is `trashed`,
  the content will be purged from the trash and deleted permanently. Note,
  you must also set the `status` query parameter to `trashed` in your request.
* If the content's type is `comment` or `attachment`, it will be deleted
  permanently without being trashed.

**[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
'Delete' permission for the space that the content is in, and permission to edit the content.

<Note>
  External Documentation

  To learn more, visit the [Confluence documentation](https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content/#api-wiki-rest-api-content-id-delete).
</Note>

## Parameters

<div className="integrations-table">
  | 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. |
</div>

## Workflow Library Example

[Delete Content with Confluence and Send Results Via Email](https://library.blinkops.com/workflows/delete-content-with-confluence-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/delete-content-with-confluence-and-send-results-via-email/canvas" />
</div>
