delete_record
DELETE
/entities/{entity_id}/records/{record_id}AuthorizationBearer <token>
A service principal's credential, or a person's access token, AgentFlow's own or an installed app's. A service principal's effective permissions are its role permissions intersected with the credential's scopes.
In: header
Path Parameters
entity_id*string
Entity id
Format
uuidrecord_id*string
Record id
Format
uuidQuery Parameters
expected_updated_at*string
The record's updated_at as last read. A stale value answers
STALE_VERSION.
Format
date-timeResponse Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X DELETE "https://example.com/entities/497f6eca-6276-4993-bfeb-53cbbbba6f08/records/497f6eca-6276-4993-bfeb-53cbbbba6f08?expected_updated_at=2019-08-24T14%3A15%3A22Z"{ "cascade_depth": 0, "cleared_by_field": [ { "count": 0, "entity_id": "8161163a-f227-466f-bc01-090a01e80165", "ref_field": "string" } ], "cleared_count": 0, "deleted_by_entity": [ { "count": 0, "entity_id": "8161163a-f227-466f-bc01-090a01e80165" } ], "deleted_count": 0, "trash_batch_id": "d495b53f-49f4-4c8f-a029-c01c929584af"}