Posts

Delete post

Deletes a post from the database. By default this does not remove the post from social media platforms; pass delete_on_platform=true to also delete it from platforms first.

Billing: Request · Rate limit: 60/min

delete/v1/social/posts/{id}

Request

  • Base URL: https://apihub.co.il
  • URL: https://apihub.co.il/v1/social/posts/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Post id

Query parameters

delete_on_platformboolean

If true, also deletes the post from all published platforms before removing it from the database

Headers

Idempotency-Keystring

Replay-safe: the same execution is returned instead of charging twice

X-Tagstring

Group calls into one job (e.g. one video) — see GET /v1/usage?tag=…

Response

Completed

idstring

Execution id — stable across internal retries; use it with GET /v1/executions/{id}

status'pending' | 'processing' | 'completed' | 'partial' | 'failed' | 'cancelled' | 'timeout'
operationstring
tagstring nullable

Your X-Tag, if sent

created_atstring date-time
completed_atstring date-time nullable
errorstring nullable

Example response

{
  "output": {
    "deleted": true
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.