Radicas Docs
API referenceGenerated

Delete Storage

POST
/usage/storage/deletions

Org self-service deletion (owner/admin only): time-range or full purge of the org's own telemetry. Ledgered in data_deletion_request and audit-logged.

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

POST /usage/storage/deletions — range ('everything before / between') or full purge. confirm must equal the tenant_id (typed confirmation; the UI shows it).

Response Body

application/json

application/json

curl -X POST "https://example.com/usage/storage/deletions" \  -H "Content-Type: application/json" \  -d '{    "scope": "range",    "confirm": "string"  }'
{  "request_id": "string",  "scope": "range",  "status": "running",  "range_start": "2019-08-24T14:15:22Z",  "range_end": "2019-08-24T14:15:22Z",  "detail": {},  "created_at": "2019-08-24T14:15:22Z",  "finished_at": "2019-08-24T14:15:22Z",  "requested_by": "string"}
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}