DELETE
/posts/{id}
posts:delete
Header'lar
Authorization
*string
API key. Format: Bearer xpl_live_...
Idempotency-Key
*string
Unique value of 1-255 characters to safely retry the same write request.
Content-Type
string
Use application/json when sending JSON body.
Cevaplar
200
The post has been deleted.
403
posts:delete scope'u yok.
cURL
curl -X DELETE https://api.xplanner.co/v1/posts/post_123 \ -H "Authorization: Bearer $XPLANNER_API_KEY" \ -H "Idempotency-Key: post-delete-001"Cevap
{ "data": { "deleted": true }, "requestId": "req_123"}