POST
https://demo.notifuse.com/api/blogPosts.unpublish Turns a published post back into a draft and clears its publication date. 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 unpublished object
success boolean
Example true
400 Bad request - missing id, post not found or not published 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