WeaveKit Docs

Delete many records

Deletes every id in one all-or-nothing transaction, subject to RBAC row scope.

DELETE/api/objects/{name}

Deletes every id in one all-or-nothing transaction, subject to RBAC row scope.

Authorization

bearerAuth
AuthorizationBearer <token>

API key present in auth.source (or resolved by an AuthResolver).

In: header

Path Parameters

name*string

Object name from objects/<name>/schema.json.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/api/objects/string" \  -H "Content-Type: application/json" \  -d '{    "ids": [      "string"    ]  }'
{  "updated": [    "string"  ],  "deleted": [    "string"  ]}