Records
Soft-delete a record
DELETE
For events, also retracts facts and field claims that depended on the event. Requires the write scope.
bearerAuthheader
AuthorizationBearer <token>A workspace API key.
id*stringRetainer identifier.
Format
uuidapplication/json- body
bindings?Successful response.
application/json- response
retractedAssertions?integerRange
-9007199254740991 <= value <= 9007199254740991recomputedRecordIds?array<>hiddenFactIds?array<>id*stringMatch
^([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)$Format
uuiddeleted*booleandeletedRecordIds*array<>curl -X DELETE 'https://retainer.tamloot.cc/v1/records/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, "deletedRecordIds": [ "2e7a05d4-123c-494e-9ece-0bd162ad031d" ]}