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"
}

Documentation Index

Fetch the complete documentation index at: https://docs.marblecms.com/llms.txt

Use this file to discover all available pages before exploring further.

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"