← Documentation home
DELETE
/hyax-api/v1/posts/:idArchive post
Sets status to `ARCHIVED`; does not hard-delete.
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' \
-H 'Authorization: Bearer YOUR_API_KEY'Example response
Shape varies by data; values are illustrative.
{
"success": true,
"message": "Post archived successfully",
"data": { "id": "clx…", "status": "ARCHIVED" }
}