Check a permission

GET {{baseUrl}}/relation-tuples/check/openapi?namespace=<string>&object=<string>&relation=<string>&subject_id=<string>&subject_set.namespace=<string>&subject_set.object=<string>&subject_set.relation=<string>&max-depth=<long>

To learn how relationship tuples and the check works, head over to the documentation.

Request Params

KeyDatatypeRequiredDescription
namespacestringNamespace of the Relationship
objectstringObject of the Relationship
relationstringRelation of the Relationship
subject_idstringSubjectID of the Relationship
subject_set.namespacestringNamespace of the Subject Set
subject_set.objectstringObject of the Subject Set
subject_set.relationstringRelation of the Subject Set
max-depthstring

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;allowed&quot;:&quot;\u003cboolean\u003e&quot;}