Delete blog post
Delete a blog post by id.
By default this will delete blog posts that are non-drafts. To delete a blog post 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 blog post that is not a draft moves the blog post to the trash, where it can be restored later. To permanently delete a blog post (or "purge" it), the endpoint must be called on a trashed blog post with the following param purge=true.
Permissions required: Permission to view the blog post and its corresponding space. Permission to delete blog posts 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/blogposts/{id}
- Auth
- HTTP basic
- or OAuth 2Authorization code: https://auth.atlassian.com/authorizeToken URL: https://auth.atlassian.com/oauth/token scopes: delete:page:confluence
Path parameters
The ID of the blog post to be deleted.
Query parameters
If attempting to purge the blog post.
If attempting to delete a blog post that is a draft.
Response
Returned if the blog post was successfully deleted.
Changes
No recorded changes to this operation across all 5 revisions of this API.