Skip to main content
Cloud has the newest features. Some may not be in a release yet; the newest release is Identity & Access Management 7.3.0.

SCIM 2.0 Bulk API

Download OpenAPI (YAML)Version v1

Base URL: https://api.asgardeo.io/t/<ORGANIZATION_NAME>/o/scim2

The SCIM 2.0 Bulk API (version v1).

Download the OpenAPI definition (YAML)

Security schemes​

OAuth2: oauth2

authorizationCode flow, token URL https://api.asgardeo.io/t/{organization-name}/oauth/token, authorization URL https://api.asgardeo.io/t/{organization-name}/oauth/authorize

Bulk Endpoint​

Create, Update, Delete Users and Groups in bulk and update Roles in bulk​

POST /Bulk

This API is used to create/update/replace/delete SCIM resources in bulk. You need to specify different operations in the request payload corresponding to the type of bulk update: </br>

  • POST operation: Adds new resources.
  • PUT operation: Replaces an existing resource.
  • PATCH operation: Updates attributes of an existing resource.
  • DELETE operation: Removes an existing resource. Learn more about defining batch operations.

Scopes required: internal_org_bulk_resource_create or a operation-wise scope

Request body: application/scim+json

Schema: BulkUserRequestObject

3 properties
NameTypeRequiredDescription
failOnErrorsinteger
schemasarray of string
Operationsarray of BulkUserOb

Responses

CodeDescriptionSchema
201

Valid user is created

BulkUserResponseObject
401

Unauthorized

ErrorUnauthorized
403

Forbidden

ErrorForbidden
409

Users already exists

Schemas​

BulkUserRequestObject​

Type: object

3 properties
NameTypeRequiredDescription
failOnErrorsinteger
schemasarray of string
Operationsarray of BulkUserOb

BulkUserOb​

Type: object

7 properties
NameTypeRequiredDescription
methodstring
pathstring
bulkIdstring
dataobject
data.schemasarray of string
data.usernamestring
data.passwordstring

BulkUserResponseObject​

Type: object

2 properties
NameTypeRequiredDescription
schemasarray of string
OperationsOperationObBulk

OperationObBulk​

Type: object

5 properties
NameTypeRequiredDescription
bulkIdstring
methodstring
locationstring
statusobject
status.codestring

ErrorUnauthorized​

Type: object

3 properties
NameTypeRequiredDescription
statusstringYes
schemasstring
scimTypestring

ErrorForbidden​

Type: object

3 properties
NameTypeRequiredDescription
statusstringYes
schemasstring
scimTypestring

Was this page helpful?