Docs
Live demo
GET/api/v2/identities/ids

IDs of every person, group and service account that matches the conditions of GET /identities, for selecting all matches at once. The same organization, rights and conditions as the list. At most 5000 IDs. Truncated says that more match.

Returns up to 5000 matching IDs (truncated: true if more match) plus items with kind and name.

Parameters

Query8 optional
kindstringquery

Filter by identity kind

usergroupservice
managedbooleanquery

Filter by managed status

searchstringquery

The same search as GET /identities

max length 200
source[]array of stringquery

Filter by connector sources, the same as GET /identities

id[]array of string · uuidquery

Only these IDs (UUIDs), up to 100, the same as GET /identities

max items 100
groupedbooleanquery

true lists only the people who are a direct member of at least one group, false only the people without a group

service_accountbooleanquery

Filter by the service account flag of a user identity

hide_token_botsbooleanquery

true leaves out the GitLab and GitHub access-token bots that the console hides

Responses

200

OK

IdentityIDsResponse · 3 fields
idsarray of stringrequired

The same identities as items, IDs only. Kept for older clients.

itemsarray of IdentityIDResponserequired

Every matching identity, in the order of ids, with its kind and its display name as GET /identities returns it, so a selection outside the loaded page keeps groups apart from people.

3 fields
idstringrequired
kindstring (IdentityKind)required
usergroupservice
namestringrequired

The label the console shows for the identity: its display_name, else its email, username or external_id, the same label as in GET /identities/graph.

truncatedbooleanrequired

More identities match than the 5000 IDs returned.

Common errors: 400 401 403 429 504. They mean the same for every operation, see Errors.

↑ ↓ to moveEnter to openEsc to close