1. Docs
  2. API Reference
  3. Get Application identities summary

Get Application identities summary

GET/portal/v1/accounts/{accountSlug}/applications/{appSlug}/identities/summary

Authentication

  • Bearer Token Authorization

    JWT access token

Code samples

cURLJavaScriptPythonGo
curl -X GET "https://api.canopy.dev/portal/v1/accounts/{accountSlug}/applications/{appSlug}/identities/summary" \
  -H "Authorization: Bearer $CANOPY_TOKEN"

Responses

200 Identity counts returned (total, assigned, unassigned)
{
  "total_identities": 0,
  "assigned_count": 0,
  "unassigned_count": 0
}

application/json

  • total_identitiesnumber*
  • assigned_countnumber*
  • unassigned_countnumber*
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)

Returned object

On this page

Related endpoints

GETList identities in Application
POSTCreate an identity
GETList identities with their role assignments
POSTBulk-create identities
POSTRecord a bulk-import wizard completion
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
GETGet identity's effective permissions