Check a permission

POST {{baseUrl}}/relation-tuples/check?max-depth=<long>

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

Request Params

KeyDatatypeRequiredDescription
max-depthstringnolint:deadcode,unused

Request Body

{"namespace"=>"<string>", "object"=>"<string>", "relation"=>"<string>", "subject_id"=>"<string>", "subject_set"=>{"namespace"=>"<string>", "object"=>"<string>", "relation"=>"<string>"}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring