Delete a post by ID or slug. Requires a private API key.
cURL
curl --request DELETE \ --url https://api.marblecms.com/v1/posts/{identifier} \ --header 'Authorization: <api-key>'
{ "id": "cryitfjp5678mn09qrstuvwx" }
Your Marble API key
Post ID or slug
"my-post-slug"
Post deleted successfully
"cryitfjp5678mn09qrstuvwx"
Was this page helpful?