Invalidate ReBAC cache entries.
POST
/api/rebac/invalidate
Code sample: Shell / cURL
curl --request POST \ --url https://auth.example.com/api/rebac/invalidate \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "tenant_id": "tenant_123", "type": "object", "object_type": "document", "object_id": "doc_123" }'Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ” Media type application/json
object
tenant_id
required
string
type
required
string
object_type
string
object_id
string
user_id
string
Example
{ "tenant_id": "tenant_123", "type": "object", "object_type": "document", "object_id": "doc_123"}Responses
Section titled “ Responses ”Successful JSON response.
Media type application/json
object
success
required
boolean
Example
{ "success": true}