Delete custom content
Delete a custom content by id.
Deleting a custom content will either move it to the trash or permanently delete it (purge it), depending on the apiSupport. To permanently delete a trashed custom content, the endpoint must be called with the following param purge=true.
Permissions required: Permission to view the content of the page or blogpost and its corresponding space. Permission to delete custom content in the space. manage/content permission for the space (if attempting to purge).
Note: To find the display name for each permission ID, call the Get available space permissions API.
Request
- Base URLhttps://no-default/wiki/api/v2
- URLhttps://no-default/wiki/api/v2/custom-content/{id}
- Auth
- HTTP basic
- or OAuth 2Authorization code: https://auth.atlassian.com/authorizeToken URL: https://auth.atlassian.com/oauth/token scopes: delete:custom-content:confluence
Path parameters
The ID of the custom content to be deleted.
Query parameters
If attempting to purge the custom content.
Response
Returned if the custom content was deleted.
Changes
No recorded changes to this operation across all 5 revisions of this API.