1. Docs
  2. API Reference
  3. List the current user's own Developer Console capabilities

List the current user's own Developer Console capabilities

GET/portal/v1/accounts/{accountSlug}/me/console-capabilities

The 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 TokenAuthorization

JWT 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

  • itemsAdminCapabilityDto[]*

application/json

  • errorApiErrorBodyDto*

application/json

  • errorApiErrorBodyDto*

application/json

  • errorApiErrorBodyDto*

Returned object

Request
curl -X GET "https://auth.canopy-io.com/portal/v1/accounts/value/me/console-capabilities" \
  -H "Authorization: Bearer $CANOPY_TOKEN"
Response
{
  "items": [
    {
      "key": "string",
      "description": "string",
      "category": "string",
      "product": "console",
      "scope": "account",
      "ownerOnly": false
    }
  ]
}
Related endpoints
GETResolve the current user's product access and landing
GETList the current user's own Account-governance capabilities
Was this page helpful?

Tell us how we can improve this guide.