Bulk operations
POST/nevisidm/api/scim/v1/:clientExtId/Bulk
Executes multiple SCIM operations (GET, POST, DELETE) in a single HTTP request. Each operation targets the /Users path and is processed sequentially.
The failOnErrors field in the request controls the maximum number of errors allowed before the bulk operation is aborted with 422 Unprocessable Entity.
Individual operation results are returned with per-operation status codes in the response body.
Request
Path Parameters
Client's external identifier.
- application/json
Body
required
- Array [
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- Array [
- Array [
- ]
- Array [
- ]
- ]
- Array [
- ]
- Array [
- ]
- ]
- ]
An integer specifying the number of errors that the service provider will accept before the operation is terminated and an error response is returned. OPTIONAL in a request.
Operations object[]required
List of operations to be performed.
HTTP method that indicates the operation to be performed.
Identifier to identify the single operations in the response.
The current resource version to supports entity-tags (ETags).
SCIM resource path. Currently only one path is supported: /Users.
data ScimUserrequired
SCIM provides a resource type for "User" resources. The core schema for "User" is identified using the following schema URI: urn:ietf:params:scim:schemas:core:2.0:User.
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 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.
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 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.
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.
extensions object
Possible list of extensions. Only the 'urn:nevis:idm:scim:schemas:v1:extension:User' extension is supported.
Responses
- 200
- 400
- 405
- 413
- 422
Bulk operations completed successfully
- application/json
- Schema
- Example (from schema)
- Bulk response
Schema
- 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.
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.
Operations ScimBulkResponseOperation[]required
List of operations performed.
HTTP method that indicates the operation to be performed.
Identifier to identify the single operations in the response.
The current resource version to supports entity-tags (ETags).
Resource URI to get the single SCIM resource.
response ResponseEntityScimBase
The HTTP response body for the specified request operation. Included with a response with an HTTP status other than a 200-series response,.
headers object
host object
address object
accept MediaType[]
parameters object
charset object
acceptPatch MediaType[]
parameters object
charset object
acceptLanguage object[]
contentDisposition ContentDisposition
charset object
acceptCharset object[]
contentType MediaType
parameters object
charset object
property name* string[]
string
body ScimBase
SCIM defined abstract complex as basis of SCIM types, like ScimUser, ScimSchema.
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.
statusCode HttpStatusCode
The HTTP status code.
status HttpStatusCoderequired
The HTTP status code.
{
"schemas": [
"urn:ietf:params:scim:schemas:core:2.0:User"
],
"meta": {
"resourceType": "User",
"created": "2022-02-20T18:50:02Z",
"lastModified": "2022-02-20T18:51:30Z",
"version": "v2"
},
"Operations": [
{
"method": "DELETE",
"path": "/Users",
"data": {
"id": 100
}
}
]
}
{
"schemas": [
"urn:ietf:params:scim:api:messages:2.0:BulkResponse"
],
"Operations": [
{
"method": "DELETE",
"response": {
"headers": {},
"body": null,
"statusCode": "NO_CONTENT",
"statusCodeValue": 204
},
"status": "NO_CONTENT"
},
{
"method": "DELETE",
"response": {
"headers": {},
"body": null,
"statusCode": "NO_CONTENT",
"statusCodeValue": 204
},
"status": "NO_CONTENT"
}
]
}
Invalid SCIM request
- application/json
- Schema
- Example (from schema)
- Invalid bulk operation path
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": "invalidPath",
"detail": "The requested path does not supported: /InvalidPath"
}
Unsupported method
- application/json
- Schema
- Example (from schema)
- Bulk method not supported
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": "METHOD_NOT_ALLOWED",
"scimType": "invalidSyntax",
"detail": "PATCH method not supported for '/Users' path."
}
Bulk request too large
- application/json
- Schema
- Example (from schema)
- Bulk payload too large
- Bulk operations limit exceeded
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": "PAYLOAD_TOO_LARGE",
"scimType": "invalidValue",
"detail": "The size of the bulk operation exceeds the maxPayloadSize limit (1048576)."
}
{
"schemas": ["urn:ietf:params:scim:api:messages:2.0:Error"],
"status": "PAYLOAD_TOO_LARGE",
"scimType": "invalidValue",
"detail": "The number of the bulk operation exceeds the maxOperations limit (100)."
}
Request body parse error
- application/json
- Schema
- Example (from schema)
- JSON parse error
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": "UNPROCESSABLE_ENTITY",
"scimType": "invalidSyntax",
"detail": "JSON parse error: Unexpected character ('x' (code 120))"
}