Skip to Content
Open Retainer
Records

Preview the impact of several record deletions

POST
/v1/records/delete-impact

Requires the read scope.

Authorization

bearerAuth
headerAuthorizationBearer <token>

A workspace API key.

Request Body

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

Response Body

Successful response.

application/json
  1. response
ids*array<>
records*array<>
Example Request
curl -X POST 'https://retainer.tamloot.cc/v1/records/delete-impact' \  -H 'Authorization: Bearer YOUR_WORKSPACE_API_KEY' \  -H 'Content-Type: application/json' \  -d '{  "ids": [    "6e0346a3-e54d-40e3-9779-4ba1e707e35b"  ]}'
Example Response
{  "ids": [    "6e0346a3-e54d-40e3-9779-4ba1e707e35b"  ],  "records": [    {      "object": "string",      "count": -9007199254740991    }  ]}