Get user
GET/nevisidm/api/scim/v1/:clientExtId/Users/:id
Retrieves the full SCIM representation of a single user by internal ID. The user must belong to the client specified in the URL path.
Returns all user elements including credentials, profiles, authorizations, and custom properties.
Request
Path Parameters
Client's external identifier.
User's internal identifier.
Responses
- 200
- 400
- 404
SCIM user retrieved successfully
- application/json
- Schema
- Example (from schema)
- User
Schema
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- Array [
- Array [
- ]
- Array [
- ]
- ]
- Array [
- ]
- Array [
- ]
- ]
An array of Strings containing URIs that are used to indicate the namespaces of the SCIM schemas that define the attributes present in the current JSON structure.
A unique identifier for a SCIM resource.
An identifier for the resource as defined by the provisioning client.
meta ScimMeta
SCIM defined complex to hold meta information.
The name of the resource type of the resource.
The date and time that the resource was added to the service provider.
The most recent date and time that the details of this resource were updated at the service provider.
The URI of the resource being returned.
The version of the resource being returned.
Unique identifier for the User for the actual customer. This is mapped to the loginId property of User.
name ScimName
SCIM defined complex to hold name of user. Defined for ScimUser.
The full name, including all middle names, titles, and suffixes. This is not mapped for input, just generated for output.
The family name of the User, or Last Name in most Western languages. This is mapped to name property of User.
The given name of the User, or First Name in most Western languages. This is mapped to firstName attribute of User.
The middle name(s) of the User. This is not mapped to any property of User, yet.
The honorific prefix(es) of the User, or Title in most Western languages. This is mapped to title property of User.
The name of the User, suitable for display to end-users. This is generated like name.formatted. If empty the userName will be returned.
Indicates the User's preferred written or spoken language. This is mapped to languageId property of User.
Used to indicate the User's default location for purposes of localizing items such as currency, date time format, numerical representations, etc. This is mapped to locality property of User.
A Boolean value indicating the User's administrative status. This it mapped to status property of User. 'true' => ACTIVE, 'false' => DISABLED; ACTIVE => 'true', otherwise 'false'.
emails ScimMultiAttribute[]required
E-mail addresses for the user. The Idm can accept only one email address. By default the email address is mandatory and must be unique. This is mapped to email and uniqueEmail properties of User.
Attribute value (eg. email address, prhone number. This part is mapped to the referred property of User.
A human readable name, primarily used for display purposes. This part is not mapped, for output the value is repeated here.
A label indicating the attribute's function; e.g. 'work', 'home', etc. For email this part is not mapped. For phone the following values are accepted and required: 'telephone', 'telefax' or 'mobile'. Other types are not supported, yet.
A Boolean value indicating the 'primary' or preferred. This part is not mapped, the first one always true the rest always false.
phoneNumbers ScimMultiAttribute[]
Phone numbers for the User. The Idm can accept three kind of phone numbers. Indicate the type as 'telephone', 'telefax' or 'mobile'. These values are mapped to properties indicated in type attribute.
Attribute value (eg. email address, prhone number. This part is mapped to the referred property of User.
A human readable name, primarily used for display purposes. This part is not mapped, for output the value is repeated here.
A label indicating the attribute's function; e.g. 'work', 'home', etc. For email this part is not mapped. For phone the following values are accepted and required: 'telephone', 'telefax' or 'mobile'. Other types are not supported, yet.
A Boolean value indicating the 'primary' or preferred. This part is not mapped, the first one always true the rest always false.
addresses ScimPhysicalAddress[]
Physical mailing addresses for this User. The Idm can accept only one address.This is mapped to country, city, postalcode, addressline2 and addressline1 properties of User.
The full mailing address, formatted for display or for label. This is not mapped for input, just generated for output.
The full street address component. This part is mapped to addressline1 and addressline2 properties of User with separating new line character (only one supported).
The city or locality component. This part is mapped to city property of User.
The state or region component. This part is not mapped to any property of User, yet.
The zipcode or postal code component. This part is mapped to postalcode property of User.
The country name component. This part is mapped to country property of User.
A label indicating the attribute's function; e.g. 'work' or 'home'. This part is not mapped to any property of User, yet.
A Boolean value indicating the 'primary' or preferred. This part is not mapped to any property of User, yet.
urn:nevis:idm:scim:schemas:v1:extension:User ScimUserExtension
SCIM User IDM extension for properties in IDM "User" that has not been covered by the ScimUser. Schema: "urn:nevis:idm:scim:schemas:v1:extension:User".
Description for the user.
Gender of the user.
Birthdate of the user.
Validity starting timestamp can be defined for the user.
Validity ending timestamp can be defined for the user.
Indicates if it the user is technical or not.
Street name of user's address.
House number of user's address.
Property unit number of user's address.
Post office box text of user's address.
Post office box number of user's address.
Name of template collection assigned to the user.
credentials ScimCredential[]required
List of credential a assigned to the user.
External identifier for the credential. Must be unique.
Possible values: [PASSWORD, GENERIC, FIDO2, TICKET, MTAN, RECOVERY_CODE, TEMPSTRONGPASSWORD, SAFEWORDUSER, SECURID, PUK, FIDO_UAF, CONTEXTPASSWORD, CERTIFICATE, KERBEROS, VASCO, URLTICKET, MOBILESIGNATURE, SAMLFEDERATION, DEVICEPASSWORD, OATH, OTP, SECURITYQUESTIONS, UNSUPPORTED]
Type of the credential.
Name attribute for the credential.
Possible values: [INITIAL, ACTIVE, TMP_LOCKED, FAIL_LOCKED, RESET_CODE, ADMIN_CHANGED, DISABLED, ARCHIVED]
Enumeration value indicating the credential's administrative status.
Validity starting timestamp for the credential.
Validity ending timestamp for the credential.
properties object
Name value pairs map of Credential's custom properties.
Name value pairs map of Credential's custom properties.
credentialLoginInfo ScimCredentialLoginInfo
SCIM defined complex to hold IDM credential login information. Defined for ScimCredential.
Timestamp of last login of user.
Counter for successful login attempts.
Timestamp of last login failure of user.
Counter for failed login attempts.
The external ID of the used policy.
profiles ScimProfile[]required
List of assigned profiles to the user. At least one is mandatory.
Possible values: [ACTIVE, DISABLED, ARCHIVED]
An enumeration value indicating the profile's administrative status.
Name of the profile.
Description for the profile.
External identifier for the profile. Must be unique.
Indicates it is the default profile of user or not. One and only one must true.
Validity starting timestamp can be defined for the profile.
Validity ending timestamp can be defined for the profile.
External identifier of deputed profile if exists.
Unit external identifier belonging to the client that the profile refers. By default the configured default unit for the client is used to.
properties object
Name value pairs map of Profile's custom properties.
Name value pairs map of Profile's custom properties.
idmAuthorizations ScimIdmAuthorization[]required
IDM role assignments for the profile.
External identifier for the enterprise authorization of profile. Must be unique.
Validity starting timestamp can be defined for the enterprise authorization of profile.
Validity ending timestamp can be defined for the enterprise authorization of profile.
The assigned role external identifier for the authorization of profile.
The user is authorized to manage all clients in the system.
The user is authorized to manage all units in the system.
The user is authorized to manage all applications in the system.
The user is authorized to manage all enterprise roles in the system.
The user is authorized to manage the selected clients in case all clients flag is false.
The user is authorized to manage the selected applications in case all applications flag is false.
authorizedUnitExtIdSetForClients object
The user is authorized to manage the selected client:units associations in case all units flag is false.
property name* string[]
The user is authorized to manage the selected client:units associations in case all units flag is false.
string
authorizedEnterpriseRoleExtIdSetForClients object
The user is authorized to manage the selected client:enterprise-roles associations in case all roles flag is false.
property name* string[]
The user is authorized to manage the selected client:enterprise-roles associations in case all roles flag is false.
string
appAuthorizations ScimAppAuthorization[]required
Application role assignments for the profile.
External identifier for the enterprise authorization of profile. Must be unique.
Validity starting timestamp can be defined for the enterprise authorization of profile.
Validity ending timestamp can be defined for the enterprise authorization of profile.
The assigned role external identifier for the authorization of profile.
properties object
Name value pairs map of Authorization's custom properties.
Name value pairs map of Authorization's custom properties.
enterpriseAuthorizations ScimEnterpriseAuthorization[]required
Enterprise role assignments for the profile.
External identifier for the enterprise authorization of profile. Must be unique.
Validity starting timestamp can be defined for the enterprise authorization of profile.
Validity ending timestamp can be defined for the enterprise authorization of profile.
The assigned role external identifier for the authorization of profile.
properties object
Name value pairs map of User's custom properties.
Name value pairs map of User's custom properties.
loginInfo ScimLoginInfo
SCIM defined complex to hold IDM user login information. Defined for ScimUserExtension.
Timestamp of last login of user.
Timestamp of last login failure of user.
extensions object
Possible list of extensions. Only the 'urn:nevis:idm:scim:schemas:v1:extension:User' extension is supported.
{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User"
],
"id": "100-100",
"externalId": "100",
"meta": {
"resourceType": "User",
"created": "2022-02-20T18:50:02Z",
"lastModified": "2022-02-20T18:51:30Z",
"version": "v2"
},
"userName": "bootstrap",
"name": "Strap",
"displayName": "Ms. Barbara J Jensen, III.",
"preferredLanguage": "en",
"locale": "ch",
"active": true,
"emails": [
{
"value": "[email protected]"
}
],
"phoneNumbers": [
{
"value": "555-555-5555",
"type": "telephone"
}
],
"addresses": [
{
"streetAddress": "100 Universal City Plaza",
"locality": "Hollywood",
"region": "CA",
"postalCode": "91608",
"country": "US"
}
],
"urn:nevis:idm:scim:schemas:v1:extension:User": {
"remarks": "Some description.",
"sex": "male",
"birthDate": "2024-07-29T15:51:28.071Z",
"validFrom": "2024-07-29T15:51:28.071Z",
"validTo": "2024-07-29T15:51:28.071Z",
"technical": false,
"street": "Schwarze-Bären-Straße",
"houseNumber": "6",
"dwellingNumber": "6",
"postOfficeBoxText": "Smith's",
"postOfficeBoxNumber": 9054,
"templateCollectionName": "Default",
"credentials": [
{
"extid": "100",
"type": "PASSWORD",
"active": true,
"password": "secret"
}
],
"profiles": [
{
"active": true,
"name": "profile100",
"extid": "100",
"defaultProfile": true
}
],
"properties": "{\"property1\": \"123\"}, {\"property2\": \"456\"}",
"loginInfo": {
"lastLogin": "2021-11-29T17:16:32:11.123",
"lastFailure": "2021-11-29T17:16:26:54.123"
}
},
"extensions": {}
}
{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User",
"urn:nevis:idm:scim:schemas:v1:extension:User"
],
"id": "100-1001",
"externalId": "1001",
"userName": "jdoe",
"name": {
"formatted": "John Doe",
"familyName": "Doe",
"givenName": "John"
},
"displayName": "John Doe",
"preferredLanguage": "en",
"locale": "US",
"active": true,
"emails": [{"value": "[email protected]"}],
"phoneNumbers": [{"value": "555-555-5555", "type": "telephone"}],
"addresses": [
{
"streetAddress": "100 Universal City Plaza",
"locality": "Hollywood",
"postalCode": "91608",
"country": "US"
}
],
"meta": {
"resourceType": "User",
"created": "2024-01-15T10:30:00.000",
"lastModified": "2024-01-15T10:30:00.000",
"location": "https://idm.example.com/nevisidm/api/scim/v1/100/Users/100-1001"
}
}
Invalid SCIM request
- application/json
- Schema
- Example (from schema)
- User ID not parseable
- User does not belong to client
Schema
An array of Strings containing URIs that are used to indicate the namespaces of the SCIM schemas that define the attributes present in the current JSON structure.
status HttpStatusCoderequired
The HTTP status code.
Possible values: [invalidFilter, tooMany, uniqueness, mutability, invalidSyntax, invalidPath, noTarget, invalidValue, invalidVers, sensitive]
A SCIM detail error keyword.
A detailed human-readable message.
{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User"
],
"status": 400,
"scimType": "invalidValue",
"detail": "The requested user '999' does not exist in IDM database."
}
{
"schemas": ["urn:ietf:params:scim:api:messages:2.0:Error"],
"status": "BAD_REQUEST",
"scimType": "invalidValue",
"detail": "The requested user 'abc' cannot be parsed as number."
}
{
"schemas": ["urn:ietf:params:scim:api:messages:2.0:Error"],
"status": "BAD_REQUEST",
"scimType": "invalidValue",
"detail": "The requested user does not belong to the actual client."
}
SCIM user not found
- application/json
- Schema
- Example (from schema)
- User not found
Schema
An array of Strings containing URIs that are used to indicate the namespaces of the SCIM schemas that define the attributes present in the current JSON structure.
status HttpStatusCoderequired
The HTTP status code.
Possible values: [invalidFilter, tooMany, uniqueness, mutability, invalidSyntax, invalidPath, noTarget, invalidValue, invalidVers, sensitive]
A SCIM detail error keyword.
A detailed human-readable message.
{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User"
],
"status": 400,
"scimType": "invalidValue",
"detail": "The requested user '999' does not exist in IDM database."
}
{
"schemas": ["urn:ietf:params:scim:api:messages:2.0:Error"],
"status": "NOT_FOUND",
"scimType": "invalidValue",
"detail": "The requested user '999' does not exist in IDM database."
}