v1

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

check api

post/v1/tenants/{tenant_id}/permissions/check

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

The action the user wants to perform on the resource

Response

A successful response.

can'CHECK_RESULT_UNSPECIFIED' | 'CHECK_RESULT_ALLOWED' | 'CHECK_RESULT_DENIED'

Enumerates results of a check operation.

  • CHECK_RESULT_UNSPECIFIED: Not specified check result. This is the default value.
  • CHECK_RESULT_ALLOWED: Represents a successful check (the check allowed the operation).
  • CHECK_RESULT_DENIED: Represents a failed check (the check denied the operation).