v1

latestOpenAPI 3.0.0AGPL-3.0 license2026-07-1725132198.0 KB
Permission

lookup-subject

post/v1/tenants/{tenant_id}/permissions/lookup-subject

Path parameters

tenant_idstring required

Identifier of the tenant, if you are not using multi-tenancy (have only one tenant) use pre-inserted tenant <code>t1</code> for this field. Required, and must match the pattern \“[a-zA-Z0-9-,]+\“, max 64 bytes.

Request body

permissionstring

Permission to be checked, can be a permission or relation. Required, and must match the pattern "^([a-zA-Z][a-zA-Z0-9_]{1,62}[a-zA-Z0-9])$", max 64 bytes.

page_sizeinteger

page_size is the number of subjects to be returned in the response. The value should be between 1 and 100.

continuous_tokenstring

continuous_token is an optional parameter used for pagination. It should be the value received in the previous response.

Response

A successful response.

subject_idsstring[]

List of identifiers for subjects that match the lookup.

continuous_tokenstring

continuous_token is a string that can be used to paginate and retrieve the next set of results.