v1

latestOpenAPI 3.0.32026-07-13218142597.2 KB
Page

Delete page

Delete a page by id.

By default this will delete pages that are non-drafts. To delete a page that is a draft, the endpoint must be called on a draft with the following param draft=true. Discarded drafts are not sent to the trash and are permanently deleted.

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

Permissions required: Permission to view the page and its corresponding space. Permission to delete pages in the space. Permission to administer the space (if attempting to purge).

delete/pages/{id}

Path parameters

idinteger required

The ID of the page to be deleted.

Query parameters

purgeboolean

If attempting to purge the page.

draftboolean

If attempting to delete a page that is a draft.

Response

Returned if the page was successfully deleted.