API ReferencePosts
Delete a post
Delete a draft, scheduled, or failed post. Cannot delete posts that are queued or publishing.
Authorization
bearerAuth AuthorizationBearer <token>
API keys start with cue_sk_ prefix. Get your key from the Cue dashboard.
Example: cue_sk_abc123def456ghi789jkl012mno345pqr678stu901vwx234
In: header
Path Parameters
id*string
Post ID
Response Body
application/json
application/json
application/json
application/json
curl -X DELETE "https://api.oncue.so/v1/posts/pst_r3v8n2xk5qmj"{
"data": {
"deleted": true
}
}{
"error": "Cannot delete a post that is currently being published"
}{
"error": "Unauthorized"
}{
"error": "Post not found"
}