Delete a post delivery
Same operation as DELETE /api/cli/posts, with the delivery id in the path. Only draft, scheduled, retry_scheduled, or failed deliveries can be deleted. MCP: brainy_delete_post.
DELETE
/api/cli/posts/{id}Authorization
AuthorizationBearer token (ba_sk_...) · headerrequiredAPI key from /dashboard/api-keys. Keys expire after 365 days.
or
AuthorizationBearer token (ba_mcp_access_...) · headerrequiredThe OAuth access token the hosted MCP server issues (brainy:read for GET routes, brainy:write for everything else). One login serves MCP, the CLI and the desktop app. A token without the needed scope gets 403 Insufficient scope.
Path parameters
idstring<uuid>requiredResponses
200
OK
successbooleanidstring400
id is not a UUID
errorstringrequiredcodestring401
Missing, invalid, expired, or revoked API key
errorstringrequiredcodestring404
Not found
errorstringrequiredcodestring409
POST_NOT_DELETABLE: the delivery is already posted or publishing
errorstringrequiredcodestring