コンテンツにスキップ

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" }'
Media type application/json
object
tenant_id
required
string
type
required
string
Allowed values: user object
object_type
string
object_id
string
user_id
string
Example
{
"tenant_id": "tenant_123",
"type": "object",
"object_type": "document",
"object_id": "doc_123"
}

Successful JSON response.

Media type application/json
object
success
required
boolean
Example
{
"success": true
}