Skip to main content
GET
/
v3
/
enterprise
/
members
/
idp-users
List IDP Group Users
curl --request GET \
  --url https://api.devin.ai/v3/enterprise/members/idp-users \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "email": "<string>",
      "idp_role_assignments": [
        {
          "idp_group_name": "<string>",
          "role": {
            "role_id": "<string>",
            "role_name": "<string>",
            "role_type": "enterprise"
          },
          "org_id": "<string>"
        }
      ],
      "name": "<string>",
      "user_id": "<string>"
    }
  ],
  "end_cursor": "<string>",
  "has_next_page": false,
  "total": 123
}
This endpoint lists users whose enterprise membership is derived from IDP group assignments. It returns only users who have roles inherited through IDP group membership, not users with direct role assignments. If you are looking for users with direct role assignments, use the List users endpoint instead.

Permissions

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

Authorizations

Authorization
string
header
required

Service User credential (prefix: cog_)

Query Parameters

after
string | null
first
integer
default:100
Required range: 1 <= x <= 200
email
string | null

Filter by exact email address

Response

Successful Response

items
IdpGroupUser · object[]
required
end_cursor
string | null

Cursor to fetch the next page, or None if this is the last page.

has_next_page
boolean
default:false

Whether there are more items available after this page.

total
integer | null

Optional total count (can be omitted for performance).