Skip to main content
DELETE
Remove records (bulk)

Authorizations

Authorization
string
header
required

API token from cargo-ai login. Send as Authorization: Bearer <token>.

Body

application/json

Shape: { modelUuid, ids: [string, ...] }.

modelUuid
string<uuid>
required

Target model.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
ids
string[]
required

Record identifiers to remove. Up to 1000 per request.

Required array length: 1 - 1000 elements

Record identifier; set on the payload under the model id column slug.

Minimum string length: 1

Response

Remove records (bulk)

Error response body schema (success is 204 with no body).

reason
string
required

Failure reason from record.remove.