putty
API ReferenceArtifacts

Cancel a draft or scheduled post

Cancels a post that has not gone out. A scheduled post is deleted in Zernio; a draft never reached Zernio at all and is simply marked `cancelled`. A post that already published answers the same 404 as one that does not exist, because Zernio refuses to delete a published post and putty does not expose unpublishing.

POST
/social/posts/{id}/cancel

Cancels a post that has not gone out. A scheduled post is deleted in Zernio; a draft never reached Zernio at all and is simply marked cancelled. A post that already published answers the same 404 as one that does not exist, because Zernio refuses to delete a published post and putty does not expose unpublishing.

Authorization

bearerAuth
AuthorizationBearer <token>

A bearer token. The Account routes accept a Privy access token; the MCP transport accepts an sk- API key issued by POST /account/api-keys.

In: header

Path Parameters

id*string

The publish request id.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/social/posts/string/cancel"
{  "id": "string",  "projectId": "string",  "platforms": [    {      "accountId": "string",      "platform": "string",      "text": "string"    }  ],  "assetIds": [    "string"  ],  "scheduledFor": "string",  "status": "draft",  "zernioPostId": "string",  "lastError": "string",  "approveUrl": "string",  "createdAt": "string",  "updatedAt": "string"}