Check the caller's Permissions
Answers each check for the caller, for example to show only the actions they may take. Requires being a member. Organization Permissions (organization, member, invitation, team, ac, audit) take no context. Permissions on Platform API resources are checked on the resource named by its own context ID, on the project for an environment check with only project_id, or else on the organization; a read without context is allowed when the caller can read any resource of that type in the organization. Resources outside the organization answer false.
/organizations/{organizationId}/permission-checksAuthorizationBearer token (JWT) · headerrequiredAn access token issued by this service (RFC 9068), in the Authorization header as Bearer <token>.
organizationIdstring<uuid>requiredapplication/jsoncheckspermission_check[]requiredShow propertiesHide properties
permission_checkpermissionstringrequiredA resource:action Permission.
project_idstring<uuid>environment_idstring<uuid>cluster_idstring<uuid>integration_idstring<uuid>One answer per check, in order.
allowedboolean[]requiredThe request failed.
errorstringrequiredStable machine-readable code.
invalid_requestunauthorizedforbiddennot_foundconflictgoneunavailableinternalmessagestringrequiredHuman-readable explanation.