Get Member Capabilities
See what Cirra lets one member do (web search, files, shell, and each app) and whether their role, their own choices, or the default decided it.
Path
The member's userId, from List Members.
Headers
Optional. The id of the organization to act in. Leave it out to act in the API key's own organization. A key can also act in its child organizations, and, with "Use this key across all of your organizations" on, in every organization its creator can open in the app. List them with GET /v2/companies. Every response's X-Company-Id header names the organization it acted in. See Organizations.
Response fields
userIdstringThe member's userId.
roleIdstringThe role whose rules apply to them.
capabilitiesarray of objectsEvery key a layer sets for them, in key order. A key not listed follows its fallback (Get Capability Catalog).
keystringThe capability key, such as files.write or apps.salesforce.contact.update.
valuestringWhat Cirra does: allow (asks first unless the thread runs with full access), never_ask (allows without asking), or deny.
allownever_askdeny
layerstringWhich layer decided it: default, role, or user (the person's own rules).
defaultroleuser