v1

latestSwagger 2.0Apache 2.02026-07-17152737.5 KB
permission

Check a permission

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

post/relation-tuples/check/openapi

Query parameters

max-depthinteger

Request body

namespacestring

Namespace to query

objectstring

Object to query

relationstring

Relation to query

subject_idstring

SubjectID to query

Either SubjectSet or SubjectID can be provided.

Response

checkPermissionResult

allowedboolean required

whether the relation tuple is allowed