infipostdocs
Posts

Delete Post

DELETE /posts/{id} — Infipost Public API

DELETE/public/v1/posts/{id}

Delete a post by its ID. The API will look up the post and delete all posts in the same group.

cURL
curl --request DELETE \
  --url 'https://api.infipost.asia/public/v1/posts/{id}' \
  --header 'Authorization: YOUR_API_KEY'

Authorization

Authorizationstring · headerrequired

Workspace API key or OAuth access token. Send the token directly without a Bearer prefix.

Parameters

idstring · pathrequired

Post ID to delete

Response

Post deleted

application/json
{
  "id": "deleted-post-id"
}
idstring