# SCIM

System for Cross-domain Identity Management, or SCIM, is an API specification created to facilitate the management of people and groups of people in cloud-based applications and services.
Universal Identity SCIM API is built on top of the SCIM 2.0 specification and can be integrated with major Identity Providers like Okta, Microsoft Entra ID and OneLogin.
Zuora recommends that you use OAuth v2.0 to authenticate to the Zuora REST API.
You must first create an OAuth client in the Zuora UI before using the [Create an OAuth token](https://developer.zuora.com/v1-api-reference/api/oauth/createtoken) operation to create an OAuth token. See [Authentication](https://developer.zuora.com/docs/guides/authentication/) for more information.

 - [Prerequisites](https://developer.zuora.com/v1-api-reference/api/scim/prerequisites.md): ### Prerequisites 1. You need to have a One-ID account. 2. You need to create OAuth 2.0 Clients. 3. Use the client credentials to generate the bearer token. 4. Generate the authentication token by hit
 - [Steps to generate the bearer token](https://developer.zuora.com/v1-api-reference/api/scim/steps-to-generate-the-bearer-token.md): ### Steps to generate the bearer token 1. Hit the endpoint to get the token: ```bash curl --location 'https://one.zuora.com/oauth2/token' \ --header 'Content-Type: application/x-www-form-urlencoded
 - [GET /scim/v2/Groups](https://developer.zuora.com/v1-api-reference/api/scim/getlistgroups.md): Returns a paginated list of groups, ten groups per page by default. Use the startIndex and count (max 100) query parameters to paginate long lists of groups. It's possible to return a list of specific
 - [POST /scim/v2/Groups](https://developer.zuora.com/v1-api-reference/api/scim/createanewgroup.md): Creates a new group. Must include the displayName attribute. Users can be added to the group during creation by supplying the user ID values in the members array attribute.
 - [POST /scim/v2/Groups/bulk](https://developer.zuora.com/v1-api-reference/api/scim/postbulkcreategroups.md): Creates multiple Groups within an organization. Must include the displayName attribute. Users can be added to the group during creation by supplying the user ID values in the members array attribute.
 - [PATCH /scim/v2/Groups/bulk](https://developer.zuora.com/v1-api-reference/api/scim/patchbulkpatchgroups.md): Updates an existing group resource, allowing individual (or groups of) users to be added or removed from the group with a single operation. Setting the operation attribute of a member object to delet
 - [POST /scim/v2/Groups/delete](https://developer.zuora.com/v1-api-reference/api/scim/postbulkdeletegroups.md): Permanently removes groups from an organization (members are not deleted, only the group).
 - [GET /scim/v2/Groups/{id}](https://developer.zuora.com/v1-api-reference/api/scim/getaspecificgroup.md): Retrieves a single group resource.
 - [PUT /scim/v2/Groups/{id}](https://developer.zuora.com/v1-api-reference/api/scim/updateaspecificgroup.md): Updates an existing group resource, overwriting all values for a group even if an attribute is empty or not provided. PUT will replace all members of a group with those members provided via the member
 - [DELETE /scim/v2/Groups/{id}](https://developer.zuora.com/v1-api-reference/api/scim/deleteaspecificgroup.md): Permanently removes a group (members are not deleted, only the group).
 - [PATCH /scim/v2/Groups/{id}](https://developer.zuora.com/v1-api-reference/api/scim/partiallyupdateaspecificgroup.md): Updates an existing group resource, allowing individual (or groups of) users to be added or removed from the group with a single operation. Setting the operation attribute of a member object to delete
 - [GET /scim/v2/ResourceTypes](https://developer.zuora.com/v1-api-reference/api/scim/gettheressourcetype.md): Retrieves all Resource Types managed by OneId. Resource Types define the resource name, endpoint URL, schemas, and other metadata that indicate where a resource is managed and how it is composed, e.g.
 - [GET /scim/v2/ResourceTypes/{id}](https://developer.zuora.com/v1-api-reference/api/scim/getaspecificresourcetype.md): Get related information on a single resource type. Examples: ``` /scim/v2/ResourceTypes/User /scim/v2/ResourceTypes/Group ```
 - [GET /scim/v2/Schemas](https://developer.zuora.com/v1-api-reference/api/scim/getschemaofscim.md): Lists all schemas for all supported resources. A schema is a collection of attribute definitions that describe the contents of an entire or partial resource, e.g., "urn:ietf:params:scim:schemas:core:2
 - [GET /scim/v2/Schemas/{id}](https://developer.zuora.com/v1-api-reference/api/scim/gettheschemaofspecificscim.md): Gets a specific resource schema by ID. Examples: ``` /scim/v2/Schemas/urn:ietf:params:scim:schemas:core:2.0:Group /scim/v2/Schemas/urn:ietf:params:scim:schemas:core:2.0:User /scim/v2/Schemas/urn:zuo
 - [GET /scim/v2/ServiceProviderConfig](https://developer.zuora.com/v1-api-reference/api/scim/gettheserviceproviderconfig.md): Returns Zuora’s service provider configuration.
 - [GET /scim/v2/Users](https://developer.zuora.com/v1-api-reference/api/scim/getlistofusers.md): Returns a paginated list of users, 100 users per page by default. When querying larger instances, reduce the count parameter to 1,000 or less, and use the startIndex parameter to paginate through user
 - [POST /scim/v2/Users](https://developer.zuora.com/v1-api-reference/api/scim/createauser.md): Creates a user. Must include the userName attribute and an email address. User will be created as an SSO user by default and a federated ID must be provided for the user.
 - [POST /scim/v2/Users/bulk](https://developer.zuora.com/v1-api-reference/api/scim/bulkcreateusers.md): Creates multiple users within an organization.
 - [PATCH /scim/v2/Users/bulk](https://developer.zuora.com/v1-api-reference/api/scim/bulkupdateusers.md): Updates an existing multiple user resource, overwriting values for specified attributes.
 - [POST /scim/v2/Users/delete](https://developer.zuora.com/v1-api-reference/api/scim/deletealistofusers.md): Sets multiple users to deactivate. The value of the `id` should be the user's corresponding user ID.
 - [GET /scim/v2/Users/{id}](https://developer.zuora.com/v1-api-reference/api/scim/getaspecificuser.md): Retrieves a single user resource. The value of the `id` should be the user's corresponding user ID.
 - [PUT /scim/v2/Users/{id}](https://developer.zuora.com/v1-api-reference/api/scim/updateaspecificuser.md): Updates an existing user resource, overwriting all values for a user even if an attribute is empty or not provided. If an attribute that had been set previously is left blank during a PUT operation, t
 - [DELETE /scim/v2/Users/{id}](https://developer.zuora.com/v1-api-reference/api/scim/deleteaspecificuser.md): Deactivates a specific user identified by the user ID.
 - [PATCH /scim/v2/Users/{id}](https://developer.zuora.com/v1-api-reference/api/scim/partialupdateaspecificuser.md): Updates an existing user resource, overwriting values for specified attributes. The value of the `id` should be the user's corresponding user ID. Attributes that are not provided in the request will r
