Bulk delete annotations by IDs

Delete multiple annotations by their IDs. The deletion is processed synchronously. Returns the count of deleted annotations in the response.

Authentication

AuthorizationToken
The token (or API key) must be passed as a request header. You can find your user token on the User Account page in Label Studio. Example: <br><pre><code class="language-bash">curl https://label-studio-host/api/projects -H "Authorization: Token [your-token]"</code></pre>

Request

This endpoint expects an object.
idslist of integersRequired
List of annotation IDs to delete
projectintegerRequired

Response

Annotations deleted successfully
deleted_countinteger
Number of annotations deleted

Errors

400
Bad Request Error
403
Forbidden Error