POST /v1/tenants/{tenant_id}/data/delete
The Delete Data endpoint removes relationship tuples and/or attributes that match the provided filters. Use tuple_filter to target relationships, attribute_filter to target attributes, or supply both to delete across both stores in a single request.
The response includes a snap_token representing the database state after the deletion.
Path Parameters
The tenant identifier. Use
t1 for single-tenant deployments. Must match ^([a-zA-Z0-9_\-@\.:+]{1,128}|\*)$.Request Body
Filter that selects the relationship tuples to delete.
Filter that selects the attributes to delete.
Response
A token representing the database state after the deletion. Use in subsequent requests for consistent reads.
Example
Error Codes
| HTTP Status | Description |
|---|---|
400 | Bad request — invalid filter fields |
401 | Unauthorized |
404 | Tenant not found |
429 | Rate limit exceeded |
500 | Internal server error |