List the current user's own Developer Console capabilities
/portal/v1/accounts/{accountSlug}/me/console-capabilitiesThe Developer Console capabilities the signed-in user holds in this Account, as entries from the capability catalog with key, description, category, product, scope and ownerOnly. Owners hold every Console capability. Other users hold what their active account-wide administrator roles grant, where manage also grants the matching view. Callers need only active membership of the Account, no capability, and a user with no Console capabilities gets an empty list.
Authentication
Bearer Token
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/console-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.