← Documentation home
DELETE/hyax-api/v1/posts/:id/permanent

Permanently delete post

Hard-deletes the post record. Irreversible.

Base URL: https://platform.hyax.com · Replace YOUR_API_KEY with your team API key.

Request examples

Same request in cURL, Node.js (fetch), and PHP (ext-curl).

curl -X DELETE 'https://platform.hyax.com/hyax-api/v1/posts/clx_example_id/permanent' \
  -H 'Authorization: Bearer YOUR_API_KEY'

Example response

Shape varies by data; values are illustrative.

{
  "success": true,
  "message": "Post permanently deleted",
  "data": { "id": "clx…", "slug": "hello-world", "title": "Hello world" }
}