Skip to Content
Open Retainer
Files

Check file erasure jobs

POST
/v1/files/erasure-status

Requires the admin scope.

Authorization

bearerAuth
headerAuthorizationBearer <token>

A workspace API key.

Request Body

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

Response Body

Successful response.

application/json
  1. response
pending*integer
succeeded*integer
jobs*array<>
Example Request
curl -X POST 'https://retainer.tamloot.cc/v1/files/erasure-status' \  -H 'Authorization: Bearer YOUR_WORKSPACE_API_KEY' \  -H 'Content-Type: application/json' \  -d '{  "ids": [    "6e0346a3-e54d-40e3-9779-4ba1e707e35b"  ]}'
Example Response
{  "pending": 0,  "succeeded": 0,  "jobs": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "status": "string",      "code": "string"    }  ]}