Get Application identities summary
/api/v1/identities/summaryReturns aggregate identity counts for the current Environment: total_identities (active memberships), assigned_count (identities holding at least one role assignment in this Environment), and unassigned_count. Intended for dashboard headers and onboarding checks rather than per-identity inspection.
Authentication
Bearer Token
Authorization Option A JWT access token. Never send alongside X-API-Key: a request carrying both is refused.
API Key
X-API-Key Option B API key for management-tier access. Never send alongside an Authorization header: a request carrying both is refused.
Responses
application/json
data *IdentitiesSummaryDto
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
Returned object
curl -X GET "https://auth.canopy-io.com/api/v1/identities/summary" \ -H "X-API-Key: $CANOPY_API_KEY"
{ "data": { "total_identities": 0, "assigned_count": 0, "unassigned_count": 0 } }
Tell us how we can improve this guide.