Summarize who holds a role at a node in the organization
/api/v1/organizations/{id}/nodes/{nodeId}/access/summaryThe counts over the node's assignments: direct and inherited people, by status, roles in use and the most recent arrivals, with can_manage_assignments saying whether the caller may change them. Requires the same as the node access listing.
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.
Path Parameters
idstring Required nodeIdstring Required Responses
application/json
data *NodeIdentitiesSummaryDto
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
Returned object
curl -X GET "https://auth.canopy-io.com/api/v1/organizations/value/nodes/value/access/summary" \ -H "X-API-Key: $CANOPY_API_KEY"
{ "data": { "direct_count": 0, "inherited_count": 0, "can_manage_assignments": false, "active_count": 0, "scheduled_count": 0, "expired_count": 0, "expiring_soon_count": 0, "distinct_role_count": 0, "recent_identities": [ { "id": "string", "first_name": "string", "last_name": "string", "name": "string", "avatar_url": "string" } ] } }
Tell us how we can improve this guide.