Delete a post delivery
Takes a delivery id (the id from GET /posts, not the parent post_id). Only draft, scheduled, retry_scheduled, or failed deliveries can be deleted; anything else returns 409.
DELETE
/api/cli/postsAuthorization
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.
Request body
requiredapplication/jsonidstringrequiredResponses
200
OK
successboolean401
Missing, invalid, expired, or revoked API key
errorstringrequiredcodestring404
Not found
errorstringrequiredcodestring409
Post is not deletable in its current status
errorstringrequiredcodestring