ListIntegrationUsers
/api/v1/integrations/{integration}/usersList the directory users an integration that syncs users reports, with the ID and email addresses it knows each by. A user who isn’t an admin must filter on themselves.
Example request
Section titled “Example request”curl \ -H "Authorization: Bearer ${OBLIQUE_API_KEY}" \ "https://us.oblique.security/api/v1/integrations/{integration}/users"Set OBLIQUE_API_KEY to your API key.
curl \ -H "Authorization: Bearer ${OBLIQUE_API_KEY}" \ "https://eu.oblique.security/api/v1/integrations/{integration}/users"Set OBLIQUE_API_KEY to your API key.
Path parameters
Section titled “Path parameters”parentstringrequiredThe parent integration. May be
integrations/-to list across all integrations. Format:integrations/{integration}orintegrations/-.
Query parameters
Section titled “Query parameters”pageSizeinteger (int32)pageTokenstringfilterstringOptional filter. Supports lookup by directory user, which with a parent of
integrations/-lists the integrations that report one person:user="users/janedoe"
Response
Section titled “Response”200ListIntegrationUsersResponseintegrationUsersIntegrationUser[]namestringAssigned by Oblique. Name of the integration user, of the format
integrations/{integration}/users/{user}.userstringread-onlyThe directory user the integration’s user is matched to. Empty for one matched to nobody.
Format:
users/{user}integrationIdstringread-onlyThe ID the integration knows the user by, such as a Google Workspace user ID. An integration reports each ID once.
emailsstring[]read-onlyEvery email address the integration reports for the user, most authoritative first.
createTimestring (date-time)read-onlyCreate and update timestamps.
updateTimestring (date-time)read-only
nextPageTokenstring
Errors
Section titled “Errors”| Status | Meaning |
|---|---|
400 | Malformed request |
401 | Missing or invalid API key |
403 | Not allowed for this API key |
404 | Not found |
429 | Too many requests |
500 | Internal server error |