1. Docs
  2. API Reference
  3. Get identity's effective permissions

Get identity's effective permissions

GET/api/v1/identities/{id}/permissions

Authentication

  • Bearer Token Authorization

    JWT access token

  • API Key X-API-Key

    API key for management-tier access

Path Parameters

Name Required Type Description
idRequiredstring

Code samples

cURLJavaScriptPythonGo
curl -X GET "https://api.canopy.dev/api/v1/identities/value/permissions" \
  -H "X-API-Key: $CANOPY_API_KEY"

Responses

200 Effective App-wide permissions returned
{
  "items": [
    "string"
  ]
}

application/json

  • itemsstring[]*
401 Invalid or expired token
403 This token is not authorized for this endpoint (wrong principal type — e.g., admin token on identity-only endpoint, or vice versa)
On this page

Related endpoints

GETList identities in Application
POSTCreate an identity
GETList identities with their role assignments
GETGet Application identities summary
POSTBulk-create identities
GETGet an identity
PATCHUpdate an identity
DELETERemove an identity
GETGet identity detail with role assignments
POSTActivate an identity
POSTDeactivate an identity
GETGet identity's role assignments