Reference / Authz

Delete a relationship tuple by its full triple.

DELETE /v1/authz/relations
End-user session operationId: delete_relation

Authorization

Called from the browser with the publishable application id (x-application-id); the access token lives in memory.

Request body · required

  • object string required
  • relation string required
  • subject string required

Responses

200 Deleted
404 No such tuple
422 Malformed object/subject/relation

Request

curl -X DELETE "http://localhost:8080/v1/authz/relations" \
  -H "Content-Type: application/json" \
  -d '{
  "object": "document:readme",
  "relation": "editor",
  "subject": "user:alice"
}'

Try it

live request
DELETE http://localhost:8080/v1/authz/relations

Request body

application/json