Check a user's capabilities in an organization
Boolean judgment for the per-request pattern: every rule must hit for `allowed = true`. Non-members get an explicit `member = false`; a disabled member keeps `member = true` with `allowed = false`. Rejections are structured 200 results, matching the ext permission-check contract.
Boolean judgment for the per-request pattern: every rule must hit for
allowed = true. Non-members get an explicit member = false; a
disabled member keeps member = true with allowed = false. Rejections
are structured 200 results, matching the ext permission-check contract.
api_keyX-API-Key<token>Client-app API key (third-party external API).
realmId*stringRealm ID
orgId*stringOrganization ID
application/json- body
rules?array<>|All rules must hit for allowed = true. Deserialized as Option so
a missing or empty array yields a structured 400 rules_required
instead of a vacuous allowed=true.
userId*stringCheck result (denials are structured 200 bodies)
application/json- response
allowed*booleanmember*booleanfalse = the user is not a member (a distinct result from a denied
member: member = true, allowed = false).
role?null|curl -X POST 'https://example.com/api/ext/realms/string/orgs/string/permission-check' \
-H 'Content-Type: application/json' \
-d '{
"userId": "string"
}'{
"allowed": true,
"member": true,
"role": null
}