Archive post
Archive a post by ID. The post is moved to Trash and will be permanently deleted after 30 days. Use the unarchive endpoint to restore it.
POST
/posts/{id}/archiveAuthorization
AuthorizationBearer token · headerrequiredAPI key authentication. Generate an API key from your workspace settings.
Path parameters
idstring<uuid>requiredPost ID (UUID)
Responses
200
Post archived successfully
idstring<uuid>requiredPost ID
workspaceIdstring<uuid>requiredWorkspace ID
archivedAtstring<date-time> | nullrequiredWhen the post was archived
401
Unauthorized - Missing or invalid API key
codestringmessagestring404
Not Found - Resource does not exist
codestringmessagestring