Resolve Subjects
Resolves up to 100 subject URNs — users, service accounts and OAuth clients — to a display label, an avatar where one exists, and whether the subject is disabled or deleted. Scoped to the caller's organisation, not to the calling application's enrolments. A URN that names nothing in the organisation comes back with kind SUBJECT_KIND_UNKNOWN rather than as an error.
Service accounts only: a user's token is refused even if it carries the scope.
Required scopes: auth:subjects:lookup
JWT access token obtained via OAuth2 flow or service account
In: header
Header Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
application/json
Subject URNs to resolve: users, service accounts and OAuth clients, mixed freely. Duplicates are answered once.
1 <= items <= 100Response Body
application/json
application/json
curl -X POST "https://auth.xeonr.io/xeonr.auth.api.v1.SubjectsService/ResolveSubjects" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"subjects": [
{
"urn": "urn:xeonr:auth:uid:service_account:20",
"kind": "SUBJECT_KIND_UNSPECIFIED",
"label": "trail",
"avatarUrl": "https://cdn.example.com/avatars/abc123",
"disabled": true,
"deleted": true,
"automation": true,
"displayName": "John Doe"
}
]
}xeonr.auth.api.v1.SubjectsService
Resolves subject URNs to display identities for services that render other people's and machines' actions — trail's audit log is the first. Not enrollment-scoped (unlike UsersService.BatchGetUsers): an audit log names whoever acted, whether or not they ever used the calling application. It is confined to the caller's organisation and answers lookups only, with nothing to list or filter by.
xeonr.auth.api.v1.TeamsService
Next Page