DELETE
/v1/posts/{id}Cancel a post
Cancels a scheduled or queued post.
Required permission: `posts:write`
Accepts `profileId` to target a specific profile. Omit it to use the key’s home profile.
- Base URL
- https://api.cutedyno.com
- Permission
posts:write- Idempotency
- Not applicable. This request has no side effects worth deduplicating.
- MCP tool
- cancel_post
Request
curl -X DELETE "https://api.cutedyno.com/v1/posts/POST_ID" \
-H "Authorization: Bearer $CUTEDYNO_API_KEY"Path parameters
idstringrequiredPost id.
Response
Returns 200 with the following body.
objectrequired
Example
{
"post": {
"id": "a1b2c3d4-0000-4000-8000-000000000000",
"status": "draft"
}
}Errors
Failures use the standard error envelope. Branch on code, never on the message.
| Status | Code | When it happens |
|---|---|---|
| 400 | invalid_state_transition | The post is in a state that does not allow this operation, for example editing a post that already published. |
| 401 | invalid_api_key | The key does not exist, was revoked, or is malformed. Keys start with cdyn_live_. |
| 404 | not_found | The resource does not exist inside the resolved profile. |
| 429 | rate_limit_exceeded | Too many requests for this key. Honour the Retry-After header before retrying. |
| 500 | internal_error | Something failed on our side. Retry with the same Idempotency-Key; report the requestId if it persists. |