List the current user's own Account-governance capabilities
/portal/v1/accounts/{accountSlug}/me/governance-capabilitiesThe capabilities the signed-in user holds for the Workspace's account-level pages in this Account, as entries from the capability catalog. Owners hold every account-wide capability, including the ones only an owner can hold. Other users hold what their active account-wide administrator roles grant, where manage also grants the matching view. Capabilities that belong to the Developer Console are left out, and so are Environment-level capabilities. Callers need only active membership of the Account, no capability.
Authentication
AuthorizationJWT access token. Never send alongside X-API-Key: a request carrying both is refused.
Path Parameters
accountSlugstring Required The Account's slug. An unknown one answers 404.
Responses
application/json
items *AdminCapabilityDto[]
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
Returned object
curl -X GET "https://auth.canopy-io.com/portal/v1/accounts/value/me/governance-capabilities" \ -H "Authorization: Bearer $CANOPY_TOKEN"
{ "items": [ { "key": "string", "description": "string", "category": "string", "product": "console", "scope": "account", "ownerOnly": false } ] }
Tell us how we can improve this guide.