Skip to main content
DELETE
/
v1
/
posts
/
{identifier}
Delete post
curl --request DELETE \
  --url https://api.marblecms.com/v1/posts/{identifier} \
  --header 'Authorization: <api-key>'
{
  "id": "cryitfjp5678mn09qrstuvwx"
}

Authorizations

Authorization
string
header
required

Your Marble API key

Path Parameters

identifier
string
required

Post ID or slug

Example:

"my-post-slug"

Response

Post deleted successfully

id
string
required
Example:

"cryitfjp5678mn09qrstuvwx"