Blog

Delete a blog post

POST https://demo.notifuse.com/api/blogPosts.delete

Soft-deletes a post, which takes it off the blog and frees its slug. Its template is left in place. Requires the blog write permission.

Authorizations

Authorization string header required

Bearer authentication header of the form Bearer <token>, where <token> is your API key.

Query Parameters

workspace_id string required

The ID of the workspace. Passed in the query string, not the body.

Example ws_1234567890

Body application/json

id string required
Example 1b4e28ba-2fa1-11d2-883f-0016d3cca427

Response

200 Post deleted object
success boolean
Example true
400 Bad request - missing id or post not found object
error string required

Error message

401 Unauthorized - invalid or missing authentication token object
error string required

Error message

403 Forbidden - missing the blog write permission object
error string required

Error message

resource string required

The permission resource the endpoint requires.

Example blog
permission string required

The access level the endpoint requires on that resource.

Options read, write