Posts
Publish Post
Publish a post immediately or schedule it for later.
Supported Actions:
- publish - Publish immediately
- unpublish - Unpublish
- schedule - Schedule publication (future time only)
patch/posts/{id}/publish
Path parameters
idinteger required
Post ID
Request body
Example request
{
"jsonapi": {
"version": "1.0"
},
"data": {
"type": "publish_action",
"attributes": {
"action": "publish",
"scheduled_at": "2024-12-25T09:00:00Z"
}
}
}Response
Publish status changed successfully
Changes
No recorded changes to this endpoint across all 1 revision of this API.