Skip to main content
GET
Get User
This endpoint returns a user by ID, including both direct role assignments (role_assignments) and IDP-group-derived role assignments (idp_role_assignments).

Permissions

Requires a service user with the ViewAccountMembership permission at the enterprise level.

Authorizations

Authorization
string
header
required

Service User credential (prefix: cog_)

Path Parameters

user_id
string
required

User ID

Response

Successful Response

User with both direct and IDP-group-derived role assignments.

email
string | null
required
name
string | null
required
role_assignments
RoleAssignment · object[]
required
user_id
string
required
idp_role_assignments
IdpRoleAssignment · object[]