1. Docs
  2. API Reference
  3. Resolve the current user's product access and landing

Resolve the current user's product access and landing

GET/portal/v1/accounts/{accountSlug}/me/landing

Authentication

Bearer TokenAuthorization

JWT access token. Never send alongside X-API-Key: a request carrying both is refused.

Responses

application/json

  • dataAccessLandingResponseDto*

application/json

  • errorApiErrorBodyDto*

application/json

  • errorApiErrorBodyDto*

Returned object

Request
curl -X GET "https://auth.canopy-io.com/portal/v1/accounts/{accountSlug}/me/landing" \
  -H "Authorization: Bearer $CANOPY_TOKEN"
Response
{
  "data": {
    "product_landing": "console",
    "access_modes": {
      "console": "granted",
      "workspace": "scoped"
    }
  }
}
Related endpoints
GETList the current user's own Developer Console capabilities
GETList the current user's own Account-governance capabilities
Was this page helpful?

Tell us how we can improve this guide.