Move a post to the trash, or remove it from some of its channels

Embed
Preview of the card
<a href="https://indrava.forumulate.com/docs/ref-posts-remove"><img src="https://indrava.forumulate.com/docs/_api/public/orgs/e421ace4-3e78-4ed8-9818-7b4899cf3aa0/spaces/2bcc7f09-4489-40af-85d8-9fdd3f3da314/pages/f400312a-9ec8-4e2f-a6e4-5d726d1b774c/social-card.svg?v=3e7ae33eec8b" alt="Move a post to the trash, or remove it from some of its channels" width="600" height="315"></a>
DELETE http://localhost:4000/api/v1/posts/{id}

The post leaves the calendar and stays in the trash for 45 days (GET /posts/trash, POST /posts/trash/{id}/restore). Nothing is removed at the platforms. With targetIds (ids of the post's targets) only those channels are taken off the post; naming all of them deletes the post.

Parameters

id
string
path
required

Request body

application/json
targetIds
string[]
{
  "targetIds": [
    "string"
  ]
}

Code samples

cURL
curl -X DELETE "http://localhost:4000/api/v1/posts/{id}" \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"targetIds":["string"]}'
TypeScript
Python
Go
PHP
Ruby
Java

Responses

200 OK
Example
{}
Option 1
{}
Option 2
{}
Updated