Drafts

Delete Draft

Delete a post draft by its id. Requires a paid Premium or Lifetime plan.

DELETE /v1/posts/{id} removes a draft. The delete is soft: the draft is moved to trash rather than erased, which is why the response is a plain { id, deleted: true } rather than the deleted record.

As with update, the draft is fetched first to confirm it exists and belongs to the account, so deleting an unknown id is a clean 404.

delete/v1/posts/{id}

Request

  • Base URL: https://api.linkedmash.com
  • URL: https://api.linkedmash.com/v1/posts/{id}
  • Auth: one of:
    • OAuth 2 (client credentials, token URL https://api.linkedmash.com/auth/oauth/token, scopes: content:write)
    • HTTP bearer
    • API key in header linkedmash-api-key

Path parameters

idstring required
Example:drf_8f3a21c9

The id of the draft to delete.

Response

Successful response.

statusboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.