OrganizationRoleDetailResponseDto
Example
{ "id": "string", "name": "string", "scope": "environment", "organization_node_id": "string", "organization_name": "string", "template_id": "string", "description": "string", "is_system_role": false, "system_key": "string", "is_active": false, "created_at": "2026-04-20T12:00:00.000Z", "updated_at": "2026-04-20T12:00:00.000Z", "version": 0, "permission_count": 0, "member_count": 0, "administers": false, "permissions": [ { "id": "string", "application_id": "string", "key": "string", "name": "string", "description": "string", "category": "string", "source": "system", "created_at": "2026-04-20T12:00:00.000Z", "version": 0 } ], "holder_count": 0, "pending_invite_count": 0 }
Properties
`environment`: assignable in every organization. `organization`: belongs to the organization `organization_node_id` names and is held only inside it.
The organization this role belongs to; null for an Environment role.
The name of the organization this role belongs to. Populated on list responses; null for an Environment role.
The organization role template this role was copied from; null for a role made by hand, or once its template is deleted.
Optimistic-lock version. Send back as the `If-Match` header when updating to detect concurrent edits.
Number of permissions currently assigned to this role. Populated on list responses; omitted on single-role responses where the join isn't computed.
Number of distinct identities assigned this role. Populated on list responses; omitted on single-role responses where the join isn't computed.
Whether the role carries `canopy:organization.manage`, `canopy:access.manage` or `canopy:roles.manage`, which an organization's integration may never hold. Populated on list responses.
How many people in the organization hold this role at the organization node or anywhere beneath it, each counted once
Tell us how we can improve this guide.