Skip to Content
Open Retainer
Events

Delete an event and retract its claims

DELETE
/v1/events/{id}

Requires the write scope.

Authorization

bearerAuth
headerAuthorizationBearer <token>

A workspace API key.

Path Parameters

id*string

Retainer identifier.

Formatuuid

Request Body

application/json
  1. body
bindings?

Response Body

Successful response.

application/json
  1. response
retractedAssertions*integer
Range-9007199254740991 <= value <= 9007199254740991
recomputedRecordIds*array<>
hiddenFactIds*array<>
id*string
Match^([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)$
Formatuuid
deleted*boolean
Example Request
curl -X DELETE 'https://retainer.tamloot.cc/v1/events/d2c0648c-2994-4f16-bdf1-a0136be6037d' \  -H 'Authorization: Bearer YOUR_WORKSPACE_API_KEY' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "retractedAssertions": -9007199254740991,  "recomputedRecordIds": [    "ed51b603-f858-4519-9907-72e8256e6c4d"  ],  "hiddenFactIds": [    "30eaaf17-9bb4-43ae-9370-7e70fa916c87"  ],  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "deleted": true}