staqlydocs
REST APIAPI referencePosts

Delete several posts

Delete several posts (posts:delete)

Every request sends Authorization: Bearer ...: the access token in local mode, an API key stk_... in cloud mode. Use Send to try it against your cloud instance with your API key.

POST
/v1/posts/delete

Unknown ids, and ids of another workspace, are listed in missing. What already went out stays on the platforms.

Authorization

headerAuthorizationBearer <token>

API key (stk_...), or in the Community Edition the access token (stk_local_...)

Request Body

application/json
  1. body
ids*array<string>
Items1 <= items <= 200

Response Body

What was deleted and which ids were not found

application/json
  1. response
deleted*array<string>
missing*array<string>
curl -X POST 'https://staqly.example.com/v1/posts/delete' \  -H 'Content-Type: application/json' \  -d '{  "ids": [    "string"  ]}'
{  "deleted": [    "string"  ],  "missing": [    "string"  ]}