Postato Docs
API ReferencePosts

Cancel a post

Cancel a scheduled or pending post by ID. Returns 404 if the post does not exist or is not in a cancellable state.

DELETE
/v1/workspaces/{workspaceId}/posts/{id}
AuthorizationBearer <token>

API key in the format smcp_<64 hex chars>.

In: header

Path Parameters

workspaceId*string
id*string

Response Body

application/json

application/json

application/json

curl -X DELETE "https://api.postato.com.br/v1/workspaces/string/posts/string"
{
  "success": true
}
{
  "error": "string",
  "message": "string",
  "details": null
}
{
  "error": "not_found"
}