DELETE /wiki/rest/api/content/{id}/pageTree

Moves a pagetree rooted at a page to the space's trash:

This API accepts the pageTree delete request and returns a task ID. The delete process happens asynchronously.

Response example:


 {
      "id" : "1180606",
      "links" : {
           "status" : "/rest/api/longtask/1180606"
      }
 }
 

Use the /longtask/<taskId> REST API to get the copy task status.

Permissions required: 'Delete' permission for the space that the content is in.

Servers

Path parameters

Name Type Required Description
id String Yes

The ID of the content which forms root of the page tree, to be deleted.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.