Skip to content

Delete & cancel a post

Cancel a scheduled post by deleting it from the queue and database. Only posts that are scheduled (not yet published) willbe cancelled from the publishing queue. Otherwise it will only be deleted from the database.

DELETE/v1/posts/{id}

Path Parameters

idstring

Response Body

200application/json

403application/json

404application/json

500application/json

JavaScript

Go

Java

C#

cURL

TypeScript

Python

Swift

fetch(" {
  method: "DELETE"
})

200403404500

{
  "success": true,
  "message": "Post cancelled and deleted successfully"
}
{
  "success": false,
  "error": "Invalid payload",
  "details": {
    "content": {
      "_errors": [\
        "Required"\
      ]
    }
  }
}
{
  "success": false,
  "error": "Invalid payload",
  "details": {
    "content": {
      "_errors": [\
        "Required"\
      ]
    }
  }
}
{
  "success": false,
  "error": "Internal server error",
  "message": "Database connection failed"
}

Get post analytics GET\ \ Previous Page Create a first comment\ \ Next Page