--- title: System for Cross-domain Identity Management \(SCIM\) API description: The System for Cross-domain Identity Management \(SCIM\) API provides endpoints to create, read, update, and delete operations on users and groups using the SCIM protocol.Deletes the specified group record from the Group \[sys\_user\_group\] table of a ServiceNow instance using the System for Cross-domain Identity Management \(SCIM\) protocol.Returns one or more group records from the Group \[sys\_user\_group\] table within a ServiceNow instance using the System for Cross-domain Identity Management \(SCIM\) protocol.Returns the specified group record from the Group \[sys\_user\_group\] table within a ServiceNow instance using the System for Cross-domain Identity Management \(SCIM\) protocol.Enables you to add, update, and delete specified fields in a group record in the Group \[sys\_user\_group\] table of a ServiceNow instance using the System for Cross-domain Identity Management \(SCIM\) protocol.Creates a group record in the Group \[sys\_user\_group\] table of a ServiceNow instance using the System for Cross-domain Identity Management \(SCIM\) protocol.Updates the specified group record in the Group \[sys\_user\_group\] table of a ServiceNow instance using the System for Cross-domain Identity Management \(SCIM\) protocol.Deletes the specified user record from the User \[sys\_user\] table of a ServiceNow instance using the System for Cross-domain Identity Management \(SCIM\) protocol.Returns one or more user records from the User \[sys\_user\] table within a ServiceNow instance using the System for Cross-domain Identity Management \(SCIM\) protocol.Returns the specified user record from the User \[sys\_user\] table within a ServiceNow instance using the System for Cross-domain Identity Management \(SCIM\) protocol.Enables you to add, replace, and remove specified fields in a user record in the User \[sys\_user\] table of a ServiceNow instance using the System for Cross-domain Identity Management \(SCIM\) protocol.Creates a user record in the User \[sys\_user\] table of a ServiceNow instance using the System for Cross-domain Identity Management \(SCIM\) protocol.Updates the specified user record in the User \[sys\_user\] table of a ServiceNow instance using the System for Cross-domain Identity Management \(SCIM\) protocol.Retrieves information about all System for Cross-domain Identity Management \(SCIM\) resource types supported by the associated ServiceNow instance.Retrieves information about the specified System for Cross-domain Identity Management \(SCIM\) resource type.Retrieves information about all System for Cross-domain Identity Management \(SCIM\) resource schemas supported by a ServiceNow instance. These schemas define the attributes available for each resource type.Retrieves information about the specified System for Cross-domain Identity Management \(SCIM\) resource schemas supported by a ServiceNow instance. These schemas define the attributes available for each resource type.Returns the configuration metadata to use to obtain information about the service capabilities, configurations, schemas, and resource types for the System for Cross-domain Identity Management \(SCIM\) endpoints available within a ServiceNow instance.Returns one or more company records from the Company \[core\_company\] table within a ServiceNow instance using the System for Cross-domain Identity Management \(SCIM\) protocol.Returns the specified company record from the Company \[core\_company\] table within a ServiceNow instance using the System for Cross-domain Identity Management \(SCIM\) protocol.Returns one or more cost center records from the Cost Center \[cmn\_cost\_center\] table within a ServiceNow instance using the System for Cross-domain Identity Management \(SCIM\) protocol.Returns the specified cost center record from the Cost Center \[cmn\_cost\_center\] table within a ServiceNow instance using the System for Cross-domain Identity Management \(SCIM\) protocol.Returns one or more department records from the Department \[cmn\_department\] table within a ServiceNow instance using the System for Cross-domain Identity Management \(SCIM\) protocol.Returns the specified department record from the Department \[cmn\_department\] table within a ServiceNow instance using the System for Cross-domain Identity Management \(SCIM\) protocol.Returns one or more location records from the Location \[cmn\_location\] table within a ServiceNow instance using the System for Cross-domain Identity Management \(SCIM\) protocol.Returns the specified location record from the Location \[cmn\_location\] table within a ServiceNow instance using the System for Cross-domain Identity Management \(SCIM\) protocol. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/api-reference/rest-apis/scim-api.html release: australia product: REST APIs classification: rest-apis topic_type: concept last_updated: "2026-03-12" reading_time_minutes: 133 breadcrumb: [REST API reference, API reference, API implementation and reference] --- # System for Cross-domain Identity Management \(SCIM\) API The System for Cross-domain Identity Management \(SCIM\) API provides endpoints to create, read, update, and delete operations on users and groups using the SCIM protocol. The SCIM protocol is an application-level HTTP-based protocol based on the HTTP \[[RFC7230](https://datatracker.ietf.org/doc/html/rfc7230)\] standard. Use this API for provisioning and managing identity data, such as users and groups, on the web and in cross-domain environments, such as enterprise-to-cloud service providers or inter-cloud scenarios. To access this API, you must activate the SCIM v2 - ServiceNow® Cross-domain Identity Management \(com.snc.integration.scim2\) plugin. ## Resource mapping The SCIM service has six resources: - User \(core and extension\) - Group \(core and extension\) - Company - CostCenter - Department - Location Most of the attributes in these SCIM resources map to corresponding fields in an existing ServiceNow table. The following tables define these mappings. Attributes that do not correspond to fields in existing ServiceNow tables map to two SCIM-specific tables. For additional information on these tables, see [SCIM-specific tables](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/scim-api.md). The SCIM User resource has both core \(schema: urn:ietf:params:scim:schemas:core:2.0:User\) and extension \(urn:ietf:params:scim:schemas:extension:servicenow:2.0:User\) schemas. Most of the User core and extension schema attributes map to the User \[sys\_user\] table. |SCIM attribute name|User field name| |-------------------|---------------| |active|active| |addresses.country|country| |addresses.default.country|country| |addresses.home.country|country| |addresses.locality|city| |addresses.default.locality|city| |addresses.home.locality|city| |addresses.postalCode|zip| |addresses.default.postalCode|zip| |addresses.home.postalCode|zip| |addresses.region|state| |addresses.default.region|state| |addresses.home.region|state| |addresses.streetAddress|street| |addresses.default.streetAddress|street| |addresses.home.streetAddress|street| |displayName|name| |emails.value|email| |emails.default.value|email| |emails.work.value|email| |id|sys\_id| |meta.created|sys\_created\_on| |meta.lastModified|sys\_updated\_on| |name.familyName|last\_name| |name.givenName|first\_name| |name.honorificPrefix|introduction| |name.middleName|middle\_name| |phoneNumbers.value|phone| |phoneNumbers.home.value|home\_phone| |phoneNumbers.mobile.value|mobile\_phone| |phoneNumbers.work.value|phone| |preferredLanguage|preferred\_language| |timezone|time\_zone| |title|title| |userName|user\_name| |SCIM attribute name|Sys Scim User field name| |-------------------|------------------------| |externalId|external\_id| The SCIM User extended schema \(urn:ietf:params:scim:schemas:extension:servicenow:2.0:User\) maps to the User \[sys\_user\] table. |SCIM attribute name|User field name| |-------------------|---------------| |company.name|company.name| |company.value|company.sys\_id| |costCenter.name|cost\_center.name| |costCenter.value|cost\_center.sys\_id| |department.name|department.name| |department.value|department.sys\_id| |employeeNumber|employee\_number| |gender|gender| |location.name|location.name| |location.value|location.sys\_id| |manager.displayName|manager.name| |manager.value|manager.sys\_id| The SCIM Group resource schema \(urn:ietf:params:scim:schemas:core:2.0:Group\) maps to the Group \[sys\_user\_group\] table. |SCIM attribute name|Group field name| |-------------------|----------------| |displayName|name| |id|sys\_id| |meta.created|sys\_created\_on| |meta.lastModified|sys\_updated\_on| The SCIM Group externalId parameter maps to the Sys Scim Group \[sys\_scim\_group\] table. |SCIM attribute name|Sys Scim Group field name| |-------------------|-------------------------| |externalId|external\_id| The SCIM Group ServiceNow extension schema \(urn:ietf:params:scim:schemas:extension:servicenow:2.0:Group\) maps to the Group \[sys\_user\_group\] table. |SCIM attribute name|Group field name| |-------------------|----------------| |company.value|company.sys\_id| |company.name|company.name| The SCIM Company resource schema \(urn:ietf:params:scim:schemas:custom:servicenow:2.0:Company\) maps to the Company \[core\_company\] table. |SCIM attribute name|Company field name| |-------------------|------------------| |id|sys\_id| |meta.created|sys\_created\_on| |meta.lastModified|sys\_updated\_on| |name|name| The SCIM CostCenter resource schema \(urn:ietf:params:scim:schemas:custom:servicenow:2.0:CostCenter\) maps to the Cost Center \[cmn\_cost\_center\] table. |SCIM attribute name|Cost Center field name| |-------------------|----------------------| |id|sys\_id| |meta.created|sys\_created\_on| |meta.lastModified|sys\_updated\_on| |name|name| The SCIM Department resource schema \(urn:ietf:params:scim:schemas:custom:servicenow:2.0:Department\) maps to the Department \[cmn\_department\] table. |SCIM attribute name|Department field name| |-------------------|---------------------| |id|sys\_id| |meta.created|sys\_created\_on| |meta.lastModified|sys\_updated\_on| |name|name| The SCIM Location resource schema \(urn:ietf:params:scim:schemas:custom:servicenow:2.0:Location\) maps to the Location \[cmn\_location\] table. |SCIM attribute name|Location field name| |-------------------|-------------------| |id|sys\_id| |meta.created|sys\_created\_on| |meta.lastModified|sys\_updated\_on| |name|name| ## SCIM-specific tables Two tables, Sys Scim User \[sys\_scim\_user\] and Sys Scim Group \[sys\_scim\_group\], contain the SCIM attributes that do not map to existing ServiceNow tables. The following define the contents of these tables.
| Field name | Description |
|---|---|
| Created | Date and time that the associated record was created.Data type: String Maximum length: 40 |
| Created by | Name of the entity that created the record.Data type: String Maximum length: 40 |
| External ID | External ID used by the entity that created this user record to reference the user in their system.Data type: String Maximum length: 255 |
| Sys ID | Unique identifier for the record within a ServiceNow instance.Data type: String Maximum length: 32 |
| Updated | Date and time that the associated record was last updated.Data type: String Maximum length: 40 |
| Updated by | Name of the entity that last updated the associated record.Data type: String Maximum length: 40 |
| Updates | Number of times that the record has been updated.Data type: Number \(Integer\) Maximum length: 40 |
| User | Reference to the user associated with this recordReference: User \[sys\_user\] table Maximum length: 32 |
| User type | Type of user record. This value is used to identify the organization to user relationship.This can be any value, but typical values might include: - Contractor - Employee - External - Intern - Temp - Unknown Data type: String Maximum length: 40 |
| Field name | Description |
|---|---|
| Created | Date and time that the associated record was created.Data type: String Maximum length: 40 |
| Created by | Name of the entity that created the record.Data type: String Maximum length: 40 |
| External ID | External ID used by the entity that created this group record to reference the group in their system.Data type: String Maximum length: 255 |
| Group | Reference to the group associated with this record.Reference: Group \[sys\_user\_group\] table Maximum length: 32 |
| Sys ID | Unique identifier for the record within a ServiceNow instance.Data type: String Maximum length: 32 |
| Updated | Date and time that the associated record was last updated.Data type: String Maximum length: 40 |
| Updated by | Name of the entity that last updated the associated record.Data type: String Maximum length: 40 |
| Updates | Number of times that the record has been updated.Data type: Number \(Integer\) Maximum length: 40 |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| group\_id | Sys\_id of the group record to delete. Data type: String Table: Group \[sys\_user\_group\] |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/scim+json**.Default: **application/json** |
| Name | Description |
|---|---|
| errors | Response that describes any errors that may have occurred during processing the request.Data type: Object ``` "errors": { "details": "String", "schemas": "String", "scimType": "String", "status": "String" } ``` |
| errors.detail | Detailed error message on why the request failed.Data type: String |
| errors.scimType | SCIM error detail keyword.Data type: String |
| errors.schemas | URI of the SCIM Schemas used to process the error response.Data type: Array of Strings |
| errors.status | HTTP status code for the error response.Data type: String |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| Name | Description |
|---|---|
| attributes | Comma-separated list of fields to return in the response. No other fields are returned.Can't be used with the **excludedAttributes** parameter. Data type: String Default: Return all fields unless **excludedAttributes** is specified. |
| count | Number of records to return. A negative value is interpreted as zero.Data type: Number Maximum: 500 - A value greater than this results in a bad request error. Default: 10 |
| excludedAttributes | Comma-separated list of fields to exclude from the records returned in the response. All other fields are returned.Can't be used with the **attributes** parameter. Data type: String Default: Do not exclude any fields. |
| filter |
Filter expression to apply to the return results. Field filters are expressed as ` |
| sortBy | Must be specified with the **sortOrder** parameter. Field by which to sort the return results. Sorting is case-insensitive. You can only use those parameters available for filtering for the **sortBy** parameter, except that **externalId** is not allowed. For values that are null: - sorted by ascending: Null values are sorted to the top. - sorted by descending: Null values are sorted to the bottom. Data type: String Default: No sort |
| sortOrder | Must be specified with the **sortBy** parameter. Order in which the **sortBy** parameter is applied to the return results. Valid values: - ascending - descending Data type: String Default: ascending |
| startIndex | One-based index into the table at which to start retrieving records. For example, if you set this parameter to 100, and the **count** parameter to 20, the endpoint returns records 100 through 119. **Note:** Any value that is set to less than one is interpreted as one. Data type: String Default: 1 |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/scim+json**.Default: **application/json** |
| Status code | Description |
|---|---|
| 200 | Successful. The request was successfully processed. |
| 400 | Bad Request. A bad request type or malformed request was detected.- Ensure that both the **attributes** and **excludedAttributes** query parameters have not been passed in the request. - Ensure that the **count** parameter is not greater than 500. - Ensure that all **filter** parameters are valid. |
| 401 | Unauthorized. The user credentials are incorrect or have not been passed. |
| Name | Description |
|---|---|
| itemsPerPage | Number of records returned in the return results.Data type: Number |
| Resources | List of group records.Data type: Array of Objects ``` "Resources": [ { "company": {Object}, "displayName": "String", "externalId": "String", "id": "String", "meta": [Array] } ] ``` |
| Resources.company | Details about the group's company or organization.Data type: Object ``` "company": { "display": "String", "$ref": "String", "value": "String" } ``` |
| Resources.company.display | Name of the company.Data type: String |
| Resources.company.$ref |
Reference URI of the company.Format: ` |
| Resources.company.value | Sys\_id of the associated company.Data type: String |
| Resources.displayName | Human-readable name of the group, such as HR Team.Data type: String |
| Resources.externalId | Unique identifier assigned to the group by the entity provisioning it.Data type: String |
| Resources.id | Sys\_id of the group.Data type: String |
| Resources.meta | Metadata pertaining to the group.Data type: Object ``` "meta": { "created": "String", "lastModified": "String", "location": String", "resourceType": String" } ``` |
| Resources.meta.created | Date and time when the group record was created.Data type: String |
| Resources.meta.lastModified | Date and time when the group record was last modified.Data type: String |
| Resources.meta.location | URI of the group being retrieved.Data type: String |
| Resources.meta.resourceType | SCIM Groups' resource type.Data type: String |
| Resources.members | List of the users and groups associated with the group.Data type: Array of Objects ``` "members": [ { "display": "String", "value": "String", "$ref": "String" } ] ``` |
| Resources.members.display | Name of the associated group member.Data type: String |
| Resources.members.value | Sys\_id of the associated user or group record.Data type: String |
| Resources.members.$ref | URI of the associated group member.Data type: String |
| Resources.schemas | List of URIs of the SCIM Group schemas used to process the request. Supported group schemas: - urn:ietf:params:scim:schemas:core:2.0:Group - Core schema specified in the Internet Engineering Task Force System for Cross-domain Identity Management: Core Schema document \([https://datatracker.ietf.org/doc/html/rfc7643\#section-4.2](https://datatracker.ietf.org/doc/html/rfc7643#section-4.2)\) - urn:ietf:params:scim:schemas:extension:servicenow:2.0:Group - ServiceNow extension schema. This schema contains attributes that are present in the Groups \[sys\_user\_group\] table in a base ServiceNow system, but are not part of the core schema. - urn:ietf:params:scim:schemas:extension:servicenow:custom:2.0:Group” - Custom extension schema. This schema is part of “Group” resourceType in the sys\_scim\_schema\_extension table. If the schema is not active, the schema URN is not returned in the response. Data type: Array of Strings |
| schemas | List of URIs of the SCIM List Response schemas used to process the request.Data type: Array |
| startIndex | One-based index into the Group \[sys\_user\_group\] table at which the endpoint started retrieving records.Data type: Number |
| totalResults | Total number of records that match the request.Data type: Number |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| group\_id | Sys\_id of the group record to return. |
| Name | Description |
|---|---|
| attributes | Comma-separated list of fields to return in the response. No other fields are returned.Can't be used with the **excludedAttributes** parameter. Data type: String Default: Return all fields unless **excludedAttributes** is specified. |
| excludedAttributes | Comma-separated list of fields to exclude from the records returned in the response. All other fields are returned.Can't be used with the **attributes** parameter. Data type: String Default: Do not exclude any fields. |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/scim+json**.Default: **application/json** |
| Status code | Description |
|---|---|
| 200 | Successful. The request was successfully processed. |
| 400 | Bad Request. A bad request type or malformed request was detected.- Ensure that both the **attributes** and **excludedAttributes** query parameters have not been passed in the request. - Ensure that the **count** parameter is not greater than 500. - Ensure that all **filter** parameters are valid. |
| 404 | Not found. The requested item wasn't found. |
| Name | Description |
|---|---|
| company | Details about the group's company or organization.Data type: Object ``` "company": { "display": "String", "$ref": "String", "value": "String" } ``` |
| company.display | Name of the company.Data type: String |
| company.$ref |
Reference URI of the company.Format: ` |
| company.value | Sys\_id of the associated company.Data type: String |
| displayName | Human-readable name of the group, such as HR Team.Data type: String |
| externalId | Unique identifier assigned to the group by the entity provisioning it.Data type: String |
| id | Sys\_id of the group.Data type: String |
| meta | Metadata pertaining to the group.Data type: Object ``` "meta": { "created": "String", "lastModified": "String", "location": String", "resourceType": String" } ``` |
| meta.created | Date and time when the group record was created.Data type: String |
| meta.lastModified | Date and time when the group record was last modified.Data type: String |
| meta.location | URI of the group being retrieved.Data type: String |
| meta.resourceType | SCIM Groups' resource type.Data type: String |
| members | List of the users and groups associated with the group.Data type: Array of Objects ``` "members": [ { "display": "String", "value": "String", "$ref": "String" } ] ``` |
| members.display | Name of the associated group member.Data type: String |
| members.value | Sys\_id of the associated user or group record.Data type: String |
| members.$ref | URI of the associated group member.Data type: String |
| schemas | List of URIs of the SCIM Group schemas used to process the request. Supported group schemas: - urn:ietf:params:scim:schemas:core:2.0:Group - Core schema specified in the Internet Engineering Task Force System for Cross-domain Identity Management: Core Schema document \([https://datatracker.ietf.org/doc/html/rfc7643\#section-4.2](https://datatracker.ietf.org/doc/html/rfc7643#section-4.2)\) - urn:ietf:params:scim:schemas:extension:servicenow:2.0:Group - ServiceNow extension schema. This schema contains attributes that are present in the Groups \[sys\_user\_group\] table in a base ServiceNow system, but are not part of the core schema. - urn:ietf:params:scim:schemas:extension:servicenow:custom:2.0:Group” - Custom extension schema. This schema is part of “Group” resourceType in the sys\_scim\_schema\_extension table. If the schema is not active, the schema URN is not returned in the response. Data type: Array of Strings |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| group\_id | Sys\_id of the group record to update.Data type: String Table: Group \[sys\_user\_group\] |
| Name | Description |
|---|---|
| attributes | Comma-separated list of fields to return in the response. No other fields are returned.Can't be used with the **excludedAttributes** parameter. Data type: String Default: Return all fields unless **excludedAttributes** is specified. |
| excludedAttributes | Comma-separated list of fields to exclude from the records returned in the response. All other fields are returned.Can't be used with the **attributes** parameter. Data type: String Default: Do not exclude any fields. |
| Name | Description |
|---|---|
| Operations | Required. List of operation objects to patch the specified Group record with.Data type: Array of Objects ``` "Operations": [ { "op": "String", "path": "String", "value": Any } ] ``` |
| Operations.op | Required. Operation to perform.Valid values: - add: Add the specified field and value to the Group record. - remove: Remove the value from the specified field. Replaced with data type "null". - replace: Replace the value of the specified field. Data type: String |
| Operations.path | Required for `remove` operations, optional for others. Name/path of the field to modify.The **path** parameter can have one of the following formats: - A direct field, such as `displayName` - In case of complex array, a pointer to a specific element with a filter, such as: `emails[type eq "work"]` ``` { "schemas": [ "urn:ietf:params:scim:api:messages:2.0:PatchOp" ], "Operations": [ { "op": "add", "path": "displayName", "value": "HR Group" }, { "op": "replace", "path": "members[value eq \"sysid1\"]", "value": { "value": "sysid2" } } ] } ``` Data type: String Default: Considers the field to be a resource. |
| Operations.value |
Value of the field specified in the **Operations.path** parameter. The format of this parameter depends on the data-type of the associated field. For example, if updating a simple string, such as the title, the **value** field is expressed as a string.
```
"Operations": [
{
"op": "add",
"path": "displayName",
"value": "HR Group"
}
]
```
You can also declare simple string values without a **path** parameters, such as:
```
"Operations": [
{
"op": "add",
"value": {
"displayName": "HR Group"
}
}
]
```
The following shows how to add a member to the group:
```
{
"op": "add",
"value": {
"members": {
"value": "62826bf03710200044e0bfc8bcbe5df1",
}
}
}
```
If the field being updated is not in the base-schema, you must enclose the name-value pair in an object that specifies the URN of the associated schema.
```
"value": {
" |
| Operations.value.type | Name of the field to update.Data type: String |
| Operations.value.value | Value to update the field with. Data type: String |
| schemas | Required. SCIM Schema URI of the Patch Operation: "urn:ietf:params:scim:api:messages:2.0:PatchOp”Data type: String |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/scim+json**.Default: **application/json** |
| Content-Type | Data format of the request body. Supported types: **application/json** or **application/scim+json**.Default: **application/json** |
| Status code | Description |
|---|---|
| 200 | Successful. The request was successfully processed. |
| 204 | `Successful. No Content (Applicable only for SCIM Group Patch API)` - This 204 status is dependent on the state of the SCIM UI property, `Enable Group Patch API response with No Content`, and is subject to the attribute parameter passed as per RFC: [https://www.rfc-editor.org/rfc/rfc7644\#page-35](https://www.rfc-editor.org/rfc/rfc7644#page-35). Default property value: false The `Enable Group Patch API response with No Content` property can be used to get additional response execution performance gains if the client does not plan to consume any response resources. |
| 400 | Bad Request. A bad request type or malformed request was detected.- Check for invalid values: - Malformed request body. - Required field is not provided or empty. - Invalid user or group sys\_id is provided. - Check if a read-only or immutable field is trying to be modified. - Ensure that both the **attributes** and **excludedAttributes** query parameters have not been passed in the request or that the request does not exceed the maximum number of members. |
| 404 | Not found. The requested item wasn't found. |
| 409 | Group already exists. The **displayName** parameter must be unique. |
| 500 | Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error. |
| Name | Description |
|---|---|
| company | Details about the group's company or organization.Data type: Object ``` "company": { "display": "String", "$ref": "String", "value": "String" } ``` |
| company.display | Name of the company.Data type: String |
| company.$ref |
Reference URI of the company.Format: ` |
| company.value | Sys\_id of the associated company.Data type: String |
| displayName | Human-readable name of the group, such as HR Team.Data type: String |
| externalId | Unique identifier assigned to the group by the entity provisioning it.Data type: String |
| errors | Response that describes any errors that may have occurred during processing the request.Data type: Object ``` "errors": { "details": "String", "schemas": "String", "scimType": "String", "status": "String" } ``` |
| errors.detail | Detailed error message on why the request failed.Data type: String |
| errors.scimType | SCIM error detail keyword.Data type: String |
| errors.schemas | URI of the SCIM Schemas used to process the error response.Data type: Array of Strings |
| errors.status | HTTP status code for the error response.Data type: String |
| displayName | Human-readable name of the group, such as HR Team.Data type: String |
| externalId | Unique identifier assigned to the group by the entity provisioning it.Data type: String |
| id | Sys\_id of the group.Data type: String |
| members | List of the users and groups associated with the group.Data type: Array of Objects ``` "members": [ { "display": "String", "value": "String", "$ref": "String" } ] ``` |
| members.display | Name of the associated group member.Data type: String |
| members.value | Sys\_id of the associated user or group record.Data type: String |
| members.$ref | URI of the associated group member.Data type: String |
| meta | Metadata pertaining to the group.Data type: Object ``` "meta": { "created": "String", "lastModified": "String", "location": String", "resourceType": String" } ``` |
| meta.created | Date and time when the group record was created.Data type: String |
| meta.lastModified | Date and time when the group record was last modified.Data type: String |
| meta.location | URI of the group being retrieved.Data type: String |
| meta.resourceType | SCIM Groups' resource type.Data type: String |
| schemas | List of URIs of the SCIM Group schemas used to process the request. Supported group schemas: - urn:ietf:params:scim:schemas:core:2.0:Group - Core schema specified in the Internet Engineering Task Force System for Cross-domain Identity Management: Core Schema document \([https://datatracker.ietf.org/doc/html/rfc7643\#section-4.2](https://datatracker.ietf.org/doc/html/rfc7643#section-4.2)\) - urn:ietf:params:scim:schemas:extension:servicenow:2.0:Group - ServiceNow extension schema. This schema contains attributes that are present in the Groups \[sys\_user\_group\] table in a base ServiceNow system, but are not part of the core schema. - urn:ietf:params:scim:schemas:extension:servicenow:custom:2.0:Group” - Custom extension schema. This schema is part of “Group” resourceType in the sys\_scim\_schema\_extension table. If the schema is not active, the schema URN is not returned in the response. Data type: Array of Strings |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| Name | Description |
|---|---|
| attributes | Comma-separated list of fields to return in the response. No other fields are returned.Can't be used with the **excludedAttributes** parameter. Data type: String Default: Return all fields unless **excludedAttributes** is specified. |
| excludedAttributes | Comma-separated list of fields to exclude from the records returned in the response. All other fields are returned.Can't be used with the **attributes** parameter. Data type: String Default: Do not exclude any fields. |
| Name | Description |
|---|---|
| company | Details about the group's company or organization.Data type: Object ``` "company": { "display": "String", "$ref": "String", "value": "String" } ``` |
| company.display | Name of the company.Data type: String |
| company.$ref |
Reference URI of the company.Format: ` |
| company.value | Sys\_id of the associated company.Data type: String |
| displayName | Required. Human-readable name of the group, such as HR Team.Data type: String |
| externalId | Unique identifier assigned to the group by the entity provisioning it.Data type: String |
| members | List of users or other groups to associate with the group.Data type: Array of Objects ``` "members:" [ { "value": "String" } ] ``` Maximum size: 100 - You can modify this maximum size by updating the system property com.snc.interation.scim2.max.member.count. |
| members.value | Sys\_id of the associated user or group record.Data type: String |
| schemas | Required.List of URIs of the SCIM Group schemas used to process the request. Supported group schemas: - urn:ietf:params:scim:schemas:core:2.0:Group - Core schema specified in the Internet Engineering Task Force System for Cross-domain Identity Management: Core Schema document \([https://datatracker.ietf.org/doc/html/rfc7643\#section-4.2](https://datatracker.ietf.org/doc/html/rfc7643#section-4.2)\) - urn:ietf:params:scim:schemas:extension:servicenow:2.0:Group - ServiceNow extension schema. This schema contains attributes that are present in the Groups \[sys\_user\_group\] table in a base ServiceNow system, but are not part of the core schema. - urn:ietf:params:scim:schemas:extension:servicenow:custom:2.0:Group” - Custom extension schema. This schema is part of “Group” resourceType in the sys\_scim\_schema\_extension table. If the schema is not active, the schema URN is not returned in the response. Data type: Array of Strings |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/scim+json**.Default: **application/json** |
| Content-Type | Data format of the request body. Supported types: **application/json** or **application/scim+json**.Default: **application/json** |
| Status code | Description |
|---|---|
| 201 | Successful. The request was successfully processed. |
| 400 | Bad Request. A bad request type or malformed request was detected.- Check for invalid values: - Malformed request body. - Required field is not provided or empty. - Invalid user or group sys\_id is provided. - Check if a read-only or immutable field is trying to be modified. - Ensure that both the **attributes** and **excludedAttributes** query parameters have not been passed in the request or that the request does not exceed the maximum number of members. |
| 409 | Group already exists. The **displayName** parameter must be unique. |
| 500 | Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error. |
| Name | Description |
|---|---|
| company | Details about the group's company or organization.Data type: Object ``` "company": { "display": "String", "$ref": "String", "value": "String" } ``` |
| company.display | Name of the company.Data type: String |
| company.$ref |
Reference URI of the company.Format: ` |
| company.value | Sys\_id of the associated company.Data type: String |
| displayName | Human-readable name of the group, such as HR Team.Data type: String |
| externalId | Unique identifier assigned to the group by the entity provisioning it.Data type: String |
| id | Sys\_id of the group.Data type: String |
| meta | Metadata pertaining to the group.Data type: Object ``` "meta": { "created": "String", "lastModified": "String", "location": String", "resourceType": String" } ``` |
| meta.created | Date and time when the group record was created.Data type: String |
| meta.lastModified | Date and time when the group record was last modified.Data type: String |
| meta.location | URI of the group being retrieved.Data type: String |
| meta.resourceType | SCIM Groups' resource type.Data type: String |
| members | List of the users and groups associated with the group.Data type: Array of Objects ``` "members": [ { "display": "String", "value": "String", "$ref": "String" } ] ``` |
| members.display | Name of the associated group member.Data type: String |
| members.value | Sys\_id of the associated user or group record.Data type: String |
| members.$ref | URI of the associated group member.Data type: String |
| schemas | List of URIs of the SCIM Group schemas used to process the request. Supported group schemas: - urn:ietf:params:scim:schemas:core:2.0:Group - Core schema specified in the Internet Engineering Task Force System for Cross-domain Identity Management: Core Schema document \([https://datatracker.ietf.org/doc/html/rfc7643\#section-4.2](https://datatracker.ietf.org/doc/html/rfc7643#section-4.2)\) - urn:ietf:params:scim:schemas:extension:servicenow:2.0:Group - ServiceNow extension schema. This schema contains attributes that are present in the Groups \[sys\_user\_group\] table in a base ServiceNow system, but are not part of the core schema. - urn:ietf:params:scim:schemas:extension:servicenow:custom:2.0:Group” - Custom extension schema. This schema is part of “Group” resourceType in the sys\_scim\_schema\_extension table. If the schema is not active, the schema URN is not returned in the response. Data type: Array of Strings |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| group\_id | Sys\_id of the group record to update.Data type: String Table: Group \[sys\_user\_group\] |
| Name | Description |
|---|---|
| attributes | Comma-separated list of fields to return in the response. No other fields are returned.Can't be used with the **excludedAttributes** parameter. Data type: String Default: Return all fields unless **excludedAttributes** is specified. |
| excludedAttributes | Comma-separated list of fields to exclude from the records returned in the response. All other fields are returned.Can't be used with the **attributes** parameter. Data type: String Default: Do not exclude any fields. |
| Name | Description |
|---|---|
| company | Details about the group's company or organization.Data type: Object ``` "company": { "display": "String", "$ref": "String", "value": "String" } ``` |
| company.display | Name of the company.Data type: String |
| company.$ref |
Reference URI of the company.Format: ` |
| company.value | Sys\_id of the associated company.Data type: String |
| displayName | Human-readable name of the group, such as HR Team.Data type: String |
| externalId | Unique identifier assigned to the group by the entity provisioning it.Data type: String |
| members | List of users to replace the current list of members with.Data type: Array of Objects ``` "members:" [ { "value": "String" } ] ``` Maximum size: 100 - You can modify this maximum size by updating the system property com.snc.interation.scim2.max.member.count. |
| members.value | Sys\_id of the associated user or group record.Data type: String |
| schemas | Required.List of URIs of the SCIM Group schemas used to process the request. Supported group schemas: - urn:ietf:params:scim:schemas:core:2.0:Group - Core schema specified in the Internet Engineering Task Force System for Cross-domain Identity Management: Core Schema document \([https://datatracker.ietf.org/doc/html/rfc7643\#section-4.2](https://datatracker.ietf.org/doc/html/rfc7643#section-4.2)\) - urn:ietf:params:scim:schemas:extension:servicenow:2.0:Group - ServiceNow extension schema. This schema contains attributes that are present in the Groups \[sys\_user\_group\] table in a base ServiceNow system, but are not part of the core schema. - urn:ietf:params:scim:schemas:extension:servicenow:custom:2.0:Group” - Custom extension schema. This schema is part of “Group” resourceType in the sys\_scim\_schema\_extension table. If the schema is not active, the schema URN is not returned in the response. Data type: Array of Strings |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/scim+json**.Default: **application/json** |
| Content-Type | Data format of the request body. Supported types: **application/json** or **application/scim+json**.Default: **application/json** |
| Status code | Description |
|---|---|
| 200 | Successful. The request was successfully processed. |
| 400 | Bad Request. A bad request type or malformed request was detected.- Check for invalid values: - Malformed request body. - Required field is not provided or empty. - Invalid user or group sys\_id is provided. - Check if a read-only or immutable field is trying to be modified. - Ensure that both the **attributes** and **excludedAttributes** query parameters have not been passed in the request or that the request does not exceed the maximum number of members. |
| 404 | Not found. The requested item wasn't found. |
| 409 | Group already exists. The **displayName** parameter must be unique. |
| 500 | Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error. |
| Name | Description |
|---|---|
| company | Details about the group's company or organization.Data type: Object ``` "company": { "display": "String", "$ref": "String", "value": "String" } ``` |
| company.display | Name of the company.Data type: String |
| company.$ref |
Reference URI of the company.Format: ` |
| company.value | Sys\_id of the associated company.Data type: String |
| displayName | Human-readable name of the group, such as HR Team.Data type: String |
| errors | Response that describes any errors that may have occurred during processing the request.Data type: Object ``` "errors": { "details": "String", "schemas": "String", "scimType": "String", "status": "String" } ``` |
| errors.detail | Detailed error message on why the request failed.Data type: String |
| errors.scimType | SCIM error detail keyword.Data type: String |
| errors.schemas | URI of the SCIM Schemas used to process the error response.Data type: Array of Strings |
| errors.status | HTTP status code for the error response.Data type: String |
| externalId | Unique identifier assigned to the group by the entity provisioning it.Data type: String |
| id | Sys\_id of the group.Data type: String |
| members | List of the users and groups associated with the group.Data type: Array of Objects ``` "members": [ { "display": "String", "value": "String", "$ref": "String" } ] ``` |
| members.display | Name of the associated group member.Data type: String |
| members.value | Sys\_id of the associated user or group record.Data type: String |
| members.$ref | URI of the associated group member.Data type: String |
| meta | Metadata pertaining to the group.Data type: Object ``` "meta": { "created": "String", "lastModified": "String", "location": String", "resourceType": String" } ``` |
| meta.created | Date and time when the group record was created.Data type: String |
| meta.lastModified | Date and time when the group record was last modified.Data type: String |
| meta.location | URI of the group being retrieved.Data type: String |
| meta.resourceType | SCIM Groups' resource type.Data type: String |
| schemas | List of URIs of the SCIM Group schemas used to process the request. Supported group schemas: - urn:ietf:params:scim:schemas:core:2.0:Group - Core schema specified in the Internet Engineering Task Force System for Cross-domain Identity Management: Core Schema document \([https://datatracker.ietf.org/doc/html/rfc7643\#section-4.2](https://datatracker.ietf.org/doc/html/rfc7643#section-4.2)\) - urn:ietf:params:scim:schemas:extension:servicenow:2.0:Group - ServiceNow extension schema. This schema contains attributes that are present in the Groups \[sys\_user\_group\] table in a base ServiceNow system, but are not part of the core schema. - urn:ietf:params:scim:schemas:extension:servicenow:custom:2.0:Group” - Custom extension schema. This schema is part of “Group” resourceType in the sys\_scim\_schema\_extension table. If the schema is not active, the schema URN is not returned in the response. Data type: Array of Strings |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| user\_id | Sys\_id of the user record to delete.Data type: String Table: User \[sys\_user\] |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/scim+json**.Default: **application/json** |
| Name | Description |
|---|---|
| errors | Response that describes any errors that may have occurred during processing the request.Data type: Object ``` "errors": { "details": "String", "schemas": "String", "scimType": "String", "status": "String" } ``` |
| errors.detail | Detailed error message on why the request failed.Data type: String |
| errors.scimType | SCIM error detail keyword.Data type: String |
| errors.schemas | URI of the SCIM Schemas used to process the error response.Data type: Array of Strings |
| errors.status | HTTP status code for the error response.Data type: String |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| Name | Description |
|---|---|
| attributes | Comma-separated list of fields to return in the response. No other fields are returned.Can't be used with the **excludedAttributes** parameter. Data type: String Default: Return all fields unless **excludedAttributes** is specified. |
| count | Number of records to return. A negative value is interpreted as zero.Data type: Number Maximum: 500 - A value greater than this results in a bad request error. Default: 10 |
| excludedAttributes | Comma-separated list of fields to exclude from the records returned in the response. All other fields are returned.Can't be used with the **attributes** parameter. Data type: String Default: Do not exclude any fields. |
| filter |
Filter expression to apply to the return results. Field filters are expressed as ` |
| sortBy | Must be specified with the **sortOrder** parameter. Field by which to sort the return results. Sorting is case-insensitive. You can only use the parameters available for filtering for the **sortBy** parameter, with the exception of **externalId**, which is not allowed. Also, only the following dot-walked parameters are supported: - **addressess** - Only the following values are allowed: - **addresses.streetAddress** - Maps to home street address. - **addresses.home.streetAddress** - **addresses.locality** - Maps to home locality. - **addresses.home.locality** - **addresses.region** - Maps to home region. - **addresses.home.region** - **addresses.postalCode** - Maps to home postal code. - **addresses.home.postalCode** - **addresses.country** - Maps to home country. - **addresses.home.country** - **emails** - Only the following values are allowed: - **emails.value** - Maps to the email type work. - **emails.work.value** - **phoneNumbers** - Only the following values are allowed: - **phoneNumbers.value** - Maps to the phone number type work. - **phoneNumbers.home.value** - **phoneNumbers.mobile.value** - **phoneNumbers.work.value** For values that are null: - sorted by ascending - Null values are sorted to the top. - sorted by descending - Null values are sorted to the bottom. Data type: String Default: No sort performed |
| sortOrder | Must be specified with the **sortBy** parameter. Order in which the **sortBy** parameter is applied to the return results. Valid values: - ascending - descending Data type: String Default: ascending |
| startIndex | One-based index into the User \[sys\_user\] table at which to start retrieving records. For example, if you set this parameter to 100, and the **count** parameter to 20, the endpoint returns records 100 through 119. **Note:** Any value that is set to less than one is interpreted as one. Not valid with the **id** path parameter. Data type: String Default: 1 |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/scim+json**.Default: **application/json** |
| Status code | Description |
|---|---|
| 200 | Successful. The request was successfully processed. |
| 400 | Bad Request. A bad request type or malformed request was detected.- Ensure that both the **attributes** and **excludedAttributes** query parameters have not been passed in the request. - Ensure that the **count** parameter is not greater than 500. - Ensure that all **filter** parameters are valid. |
| Name | Description |
|---|---|
| itemsPerPage | Number of records returned in the return results.Data type: Number |
| Resources | List of user records.Data type: Array of Objects ``` "Resources": [ { "active": Boolean, "addresses": {Object}, "displayName": "String", "emails": [Array], "externalId": "String", "groups": [Array], "id": "String", "meta": {Object}, "name": {Object}, "phoneNumbers": [Array], "preferredLanguage": "String", "schemas": [Array], "timezone": "String", "title": "String", "userName": "String", "userType": "String" } ] ``` |
| Resources.active | Flag that indicates whether the associated user is active within the ServiceNow instance.Possible values: - true: User is active. - false: User is inactive. Data type: Boolean |
| Resources.adresses | Details of the user's current mailing address.Data type: Object ``` "addresses": { "country": "String", "locality": "String", "postalCode": "String", "region": "String", "streetAddress": "String", "type": "String" } ``` |
| Resources.addresses.country | Country name.Data type: String |
| Resources.addresses.locality | City or locality name.Data type: String |
| Resources.addresses.postalCode | Zip or postal code.Data type: String |
| Resources.addresses.region | State or region.Data type: String |
| Resources.addresses.streetAddress | Full street address. This can include the house number, street name, PO Box, and multi-line extended street address information.Data type: String |
| Resources.addresses.type | Type of address. Currently only supports `home`.Data type: String |
| Resources.displayName | User display name. This value is auto-generated by concatenating the **name** fields. Data type: String |
| Resources.emails | List of email accounts associated with the user.Data type: Array of Objects ``` "emails:" [ { "type": "String", "value": "String" } ] ``` |
| Resources.emails.type | User email type. Currently only supports type of "work".Data type: String |
| Resources.emails.value | User's email address. This is a unique key for the associated user.Data type: String |
| Resources.externalId | Unique identifier assigned to the user by the entity provisioning it.Data type: String |
| Resources.groups | List of groups to which the user belongs, either through direct membership, nested groups, or dynamically calculated.Data type: Array of Objects ``` "groups": [ { "display": "String", "type": "String", "value": "String", "$ref": "String" } ] ``` |
| Resources.groups.display | Name of the associated group.Data type: String |
| Resources.groups.type | Type of group association, such as direct or indirect.Data type: String |
| Resources.groups.value | Sys\_id of an associated group record.Data type: String |
| Resources.groups.ref | URI of the associated group.Data type: String |
| Resources.id | Sys\_id of the associated User record.Data type: String |
| Resources.meta | Metadata pertaining to the user.Data type: Object ``` "meta": { "created": "String", "lastModified": "String", "location": String", "resourceType": String" } ``` |
| Resources.meta.created | Date and time when the user record was created.Data type: String |
| Resources.meta.lastModified | Date and time when the user record was last modified.Data type: String |
| Resources.meta.location | URI of the user being retrieved.Data type: String |
| Resources.meta.resourceType | SCIM Users' resource type.Data type: String |
| Resources.name | User's name information.Data type: Object ``` "name": { "familyName": "String", "givenName": "String", "honorificPrefix": "String", "middleName": "String" } ``` |
| Resources.name.familyName | User's family or last name.Data type: String |
| Resources.name.givenName | User's given or first name.Data type: String |
| Resources.name.honorificPrefix | User's honorific name or title, such as Dr., Bishop, or Baron.Data type: String |
| Resources.name.middle | User's middle name.Data type: String |
| Resources.phoneNumbers | List of phone numbers associated with the user.Data type: Array of Objects ``` "phoneNumbers": [ { "type": "String", "value": "String" } ] ``` |
| Resources.phoneNumbers.type | Type of phone number.Possible values: - home - mobile - work Data type: String |
| Resources.phoneNumbers.value | User's phone number.Data type: String |
| Resources.preferredLanguage | User's preferred spoken and written language.Data type: String |
| Resources.schemas | List of URIs of the SCIM User schemas used to process the request.Data type: Array of Strings |
| Resources.timezone | User's time zone.Data type: String |
| Resources.title | User's title, such as CEO or President.Data type: String |
| Resources.userName | Unique user name for the associated user. Data type: String |
| Resources.userType | User type. This value is used to identify the organization to user relationship.This can be any value, but typical values might include: - Contractor - Employee - Intern - Temp - External - Unknown Data type: String |
| schemas | List of URIs of the SCIM ListResponse schemas used to process the request.Data type: Array of Strings |
| startIndex | One-based index into the User \[sys\_user\] table at which the records were returned.Data type: String |
| totalResults | Total number of records that match the request.Data type: Number |
| Name | Description |
|---|---|
| company | Details about the user's associated company.Data type: Object ``` "company": { "display": "String", "value": "String", "$ref": "String" } ``` |
| company.display | Name of the company.Data type: String |
| company.value | Sys\_id of the company record.Data type: String |
| company.$ref | Reference URI for the company.Data type: String |
| costCenter | Details about the user's associated cost center.Data type: Object ``` "costCenter": { "display": "String", "value": "String", "$ref": "String" } ``` |
| costCenter.display | Name of the cost center.Data type: String |
| costCenter.value | Sys\_id of the cost center record. Data type: String |
| costCenter.$ref | Reference URI for the cost center.Data type: String |
| department | Details about the user's associated department.Data type: Object ``` "department": { "display": "String", "value": "String", "$ref": "String" } ``` |
| department.display | Name of the department.Data type: String |
| department.value | Sys\_id of the department record. Data type: String |
| department.$ref | Reference URI for the department.Data type: String |
| employeeNumber | Numeric or alphanumeric employee number.Data type: String |
| gender | Gender of the user, such as male or female.Data type: String |
| location | Details about the user's associated location.Data type: Object ``` "location": { "display": "String", "value": "String", "$ref": "String" } ``` |
| location.display | Name of the location.Data type: String |
| location.value | Sys\_id of the location record. Data type: String |
| location.$ref | Reference URI for the location.Data type: String |
| manager | Details about the user's associated manager.Data type: Object ``` "manager": { "display": "String", "value": "String", "$ref": "String" } ``` |
| manager.display | Name of the manager.Data type: String |
| manager.value | Sys\_id of the manager record. Data type: String |
| manager.$ref | Reference URI for the manager.Data type: String |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| user\_id | Sys\_id of the user record to return.Data type: String Table: User \[sys\_user\] |
| Name | Description |
|---|---|
| attributes | Comma-separated list of fields to return in the response. No other fields are returned.Can't be used with the **excludedAttributes** parameter. Data type: String Default: Return all fields unless **excludedAttributes** is specified. |
| excludedAttributes | Comma-separated list of fields to exclude from the records returned in the response. All other fields are returned.Can't be used with the **attributes** parameter. Data type: String Default: Do not exclude any fields. |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/scim+json**.Default: **application/json** |
| Status code | Description |
|---|---|
| 200 | Successful. The request was successfully processed. |
| 400 | Bad Request. A bad request type or malformed request was detected.- Ensure that both the **attributes** and **excludedAttributes** query parameters have not been passed in the request. - Ensure that the **count** parameter is not greater than 500. - Ensure that all **filter** parameters are valid. |
| 404 | Not found. The requested item wasn't found. |
| Name | Description |
|---|---|
| active | Flag that indicates whether the associated user is active within the ServiceNow instance.Possible values: - true: User is active. - false: User is inactive. Data type: Boolean |
| addresses | Details of the user's current mailing address.Data type: Object ``` "addresses": { "country": "String", "locality": "String", "postalCode": "String", "region": "String", "streetAddress": "String", "type": "String" } ``` |
| addresses.country | Country name.Data type: String |
| addresses.locality | City or locality name.Data type: String |
| addresses.postalCode | Zip or postal code.Data type: String |
| addresses.region | State or region.Data type: String |
| addresses.streetAddress | Full street address. This can include the house number, street name, PO Box, and multi-line extended street address information.Data type: String |
| addresses.type | Type of address. Currently only supports `home`.Data type: String |
| displayName | User display name. This value is auto-generated by concatenating the **name** fields. Data type: String |
| emails | List of email accounts associated with the user.Data type: Array of Objects ``` "emails:" [ { "type": "String", "value": "String" } ] ``` |
| emails.type | User email type. Currently only supports type of "work".Data type: String |
| emails.value | User's email address. This is a unique key for the associated user.Data type: String |
| externalId | Unique identifier assigned to the user by the entity provisioning it.Data type: String |
| groups | List of groups to which the user belongs, either through direct membership, nested groups, or dynamically calculated.Data type: Array of Objects ``` "groups": [ { "display": "String", "type": "String", "value": "String", "$ref": "String" } ] ``` |
| groups.display | Name of the associated group.Data type: String |
| groups.type | Type of group association, such as direct or indirect.Data type: String |
| groups.value | Sys\_id of an associated group record.Data type: String |
| groups.$ref | URI of the associated group.Data type: String |
| id | Sys\_id of the associated User record.Data type: String |
| meta | Metadata pertaining to the user.Data type: Object ``` "meta": { "created": "String", "lastModified": "String", "location": String", "resourceType": String" } ``` |
| meta.created | Date and time when the user record was created.Data type: String |
| meta.lastModified | Date and time when the user record was last modified.Data type: String |
| meta.location | URI of the user being retrieved.Data type: String |
| meta.resourceType | SCIM Users' resource type.Data type: String |
| name | User's name information.Data type: Object ``` "name": { "familyName": "String", "givenName": "String", "honorificPrefix": "String", "middleName": "String" } ``` |
| name.familyName | User's family or last name.Data type: String |
| name.givenName | User's given or first name.Data type: String |
| name.honorificPrefix | User's honorific name or title, such as Dr., Bishop, or Baron.Data type: String |
| name.middle | User's middle name.Data type: String |
| phoneNumbers | List of phone numbers associated with the user.Data type: Array of Objects ``` "phoneNumbers": [ { "type": "String", "value": "String" } ] ``` |
| phoneNumbers.type | Type of phone number.Possible values: - home - mobile - work Data type: String |
| phoneNumbers.value | User's phone number.Data type: String |
| preferredLanguage | User's preferred spoken and written language.Data type: String |
| schemas | List of URIs of the SCIM User schemas used to process the request.Data type: Array of Strings |
| timezone | User's time zone.Data type: String |
| title | User's title, such as CEO or President.Data type: String |
| userName | Unique user name for the associated user. Data type: String |
| userType | User type. This value is used to identify the organization to user relationship.This can be any value, but typical values might include: - Contractor - Employee - Intern - Temp - External - Unknown Data type: String |
| Name | Description |
|---|---|
| company | Details about the user's associated company.Data type: Object ``` "company": { "display": "String", "value": "String", "$ref": "String" } ``` |
| company.display | Name of the company.Data type: String |
| company.value | Sys\_id of the company record.Data type: String |
| company.$ref | Reference URI for the company.Data type: String |
| costCenter | Details about the user's associated cost center.Data type: Object ``` "costCenter": { "display": "String", "value": "String", "$ref": "String" } ``` |
| costCenter.display | Name of the cost center.Data type: String |
| costCenter.value | Sys\_id of the cost center record. Data type: String |
| costCenter.$ref | Reference URI for the cost center.Data type: String |
| department | Details about the user's associated department.Data type: Object ``` "department": { "display": "String", "value": "String", "$ref": "String" } ``` |
| department.display | Name of the department.Data type: String |
| department.value | Sys\_id of the department record. Data type: String |
| department.$ref | Reference URI for the department.Data type: String |
| employeeNumber | Numeric or alphanumeric employee number.Data type: String |
| gender | Gender of the user, such as male or female.Data type: String |
| location | Details about the user's associated location.Data type: Object ``` "location": { "display": "String", "value": "String", "$ref": "String" } ``` |
| location.display | Name of the location.Data type: String |
| location.value | Sys\_id of the location record. Data type: String |
| location.$ref | Reference URI for the location.Data type: String |
| manager | Details about the user's associated manager.Data type: Object ``` "manager": { "display": "String", "value": "String", "$ref": "String" } ``` |
| manager.display | Name of the manager.Data type: String |
| manager.value | Sys\_id of the manager record. Data type: String |
| manager.$ref | Reference URI for the manager.Data type: String |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| user\_id | Sys\_id of the user record to modify.Data type: String Table: User \[sys\_user\] |
| Name | Description |
|---|---|
| attributes | Comma-separated list of fields to return in the response. No other fields are returned.Can't be used with the **excludedAttributes** parameter. Data type: String Default: Return all fields unless **excludedAttributes** is specified. |
| excludedAttributes | Comma-separated list of fields to exclude from the records returned in the response. All other fields are returned.Can't be used with the **attributes** parameter. Data type: String Default: Do not exclude any fields. |
| Name | Description |
|---|---|
| Operations | Required. List of operation objects to patch the specified user record with.Data type: Array ``` "Operations": [ { "op": "String", "path": "String", "value": Any } ] ``` |
| Operations.op | Required. Operation to perform.Valid values: - add: Add the specified field and value to the user record. - remove: Remove the value from the specified field. - replace: Replace the value of the specified field. Data type: String |
| Operations.path | Required for `remove` operations. Name/path of the field to modify.The **path** parameter can have one of the following formats: - A direct field, such as `title` - A nested fields, such as `name.givenName` - In case of complex array, it can point to a specific element with a filter, such as: `emails[type eq "work"]` ``` { "schemas": [ "urn:ietf:params:scim:api:messages:2.0:PatchOp" ], "Operations": [ { "op": "add", "path": "title", "value": "xyz" }, { "op": "replace", "path": "name.givenName", "value": "Jennifer" }, { "op": "replace", "path": "emails[type eq \"work\"]", "value": "xyz@test.com" } ] } ``` Data type: String Default: Considers the field to be a user resource. |
| Operations.value |
Value of the field specified in the **Operations.path** parameter. The format of this parameter depends on the data-type of the associated field. For example, if updating a simple string, such as the title, the **value** field is expressed as a string.
```
"Operations": [
{
"op": "add",
"path": "title",
"value": "xyz"
}
]
```
You can also declare simple string values without using **value** or **path** parameters, such as:
```
"Operations": [
{
"op": "add",
"title": "xyz"
}
]
```
However, when updating a phone number, which is an array that contains objects that define additional fields to add to the user record and their associated values, the **value** field is expressed as an array of objects.
```
"Operations": [
{
"op": "add",
"path": "phoneNumbers",
"value": [
{
"type": "work",
"value": "9876543210"
},
{
"type": "home",
"value": "9876783216"
}
]
}
]
```
When specifying attribute nodes, the entry can include the nesting as follows:
```
{
"op": "replace",
"value": {
"name": {
"familyName": "Jones",
"givenName": "Jennifer"
}
}
}
```
Or you can specify the nesting in the **Operations.path**:
```
{
"op": "replace",
"path": "name.givenName",
"value": "Jennifer"
}
```
If the field being updated is not in the base-schema, you must enclose the name-value pair in an object that specifies the URN of the associated schema.
```
"value": {
" |
| Operations.value.type | Name of the field to update.Data type: String |
| Operations.value.value | Value to update the field with. Data type: String |
| schemas | Required. SCIM Schema URI of Patch Operation `urn:ietf:params:scim:api:messages:2.0:PatchOp`.Data type: String |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/scim+json**.Default: **application/json** |
| Content-Type | Data format of the request body. Supported types: **application/json** or **application/scim+json**.Default: **application/json** |
| Status code | Description |
|---|---|
| 200 | Successful. The request was successfully processed. |
| 400 | Bad Request. A bad request type or malformed request was detected.- Check for invalid values: - Malformed request body. - Required field is not provided or empty. - Invalid user or group sys\_id is provided. - Check if a read-only or immutable field is trying to be modified. - Ensure that both the **attributes** and **excludedAttributes** query parameters have not been passed in the request or that the request does not exceed the maximum number of members. |
| 404 | Not found. The requested item wasn't found. |
| 409 | User already exists. The **userName** parameter must be unique. |
| 500 | Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error. |
| Name | Description |
|---|---|
| active | Flag that indicates whether the associated user is active within the ServiceNow instance.Possible values: - true: User is active. - false: User is inactive. Data type: Boolean |
| addresses | Details of the user's current mailing address.Data type: Object ``` "addresses": { "country": "String", "locality": "String", "postalCode": "String", "region": "String", "streetAddress": "String", "type": "String" } ``` |
| addresses.country | Country name.Data type: String |
| addresses.locality | City or locality name.Data type: String |
| addresses.postalCode | Zip or postal code.Data type: String |
| addresses.region | State or region.Data type: String |
| addresses.streetAddress | Full street address. This can include the house number, street name, PO Box, and multi-line extended street address information.Data type: String |
| addresses.type | Type of address. Currently only supports `home`.Data type: String |
| displayName | User display name. This value is auto-generated by concatenating the **name** fields. Data type: String |
| emails | List of email accounts associated with the user.Data type: Array of Objects ``` "emails:" [ { "type": "String", "value": "String" } ] ``` |
| emails.type | User email type. Currently only supports type of "work".Data type: String |
| emails.value | User's email address. This is a unique key for the associated user.Data type: String |
| errors | Response that describes any errors that may have occurred during processing the request.Data type: Object ``` "errors": { "details": "String", "schemas": "String", "scimType": "String", "status": "String" } ``` |
| errors.detail | Detailed error message on why the request failed.Data type: String |
| errors.scimType | SCIM error detail keyword.Data type: String |
| errors.schemas | URI of the SCIM Schemas used to process the error response.Data type: Array of Strings |
| errors.status | HTTP status code for the error response.Data type: String |
| externalId | Unique identifier assigned to the user by the entity provisioning it.Data type: String |
| groups | List of groups to which the user belongs, either through direct membership, nested groups, or dynamically calculated.Data type: Array of Objects ``` "groups": [ { "display": "String", "type": "String", "value": "String", "$ref": "String" } ] ``` |
| groups.display | Name of the associated group.Data type: String |
| groups.type | Type of group association, such as direct or indirect.Data type: String |
| groups.value | Sys\_id of an associated group record.Data type: String |
| groups.$ref | URI of the associated group.Data type: String |
| id | Sys\_id of the associated User record.Data type: String |
| meta | Metadata pertaining to the user.Data type: Object ``` "meta": { "created": "String", "lastModified": "String", "location": String", "resourceType": String" } ``` |
| meta.created | Date and time when the user record was created.Data type: String |
| meta.lastModified | Date and time when the user record was last modified.Data type: String |
| meta.location | URI of the user being retrieved.Data type: String |
| meta.resourceType | SCIM Users' resource type.Data type: String |
| name | User's name information.Data type: Object ``` "name": { "familyName": "String", "givenName": "String", "honorificPrefix": "String", "middleName": "String" } ``` |
| name.familyName | User's family or last name.Data type: String |
| name.givenName | User's given or first name.Data type: String |
| name.honorificPrefix | User's honorific name or title, such as Dr., Bishop, or Baron.Data type: String |
| name.middle | User's middle name.Data type: String |
| phoneNumbers | List of phone numbers associated with the user.Data type: Array of Objects ``` "phoneNumbers": [ { "type": "String", "value": "String" } ] ``` |
| phoneNumbers.type | Type of phone number.Possible values: - home - mobile - work Data type: String |
| phoneNumbers.value | User's phone number.Data type: String |
| preferredLanguage | User's preferred spoken and written language.Data type: String |
| schemas | List of URIs of the SCIM User schemas used to process the request.Data type: Array of Strings |
| timezone | User's time zone.Data type: String |
| title | User's title, such as CEO or President.Data type: String |
| userName | Unique user name for the associated user. Data type: String |
| userType | User type. This value is used to identify the organization to user relationship.This can be any value, but typical values might include: - Contractor - Employee - Intern - Temp - External - Unknown Data type: String |
| Name | Description |
|---|---|
| company | Details about the user's associated company.Data type: Object ``` "company": { "display": "String", "value": "String", "$ref": "String" } ``` |
| company.display | Name of the company.Data type: String |
| company.value | Sys\_id of the company record.Data type: String |
| company.$ref | Reference URI for the company.Data type: String |
| costCenter | Details about the user's associated cost center.Data type: Object ``` "costCenter": { "display": "String", "value": "String", "$ref": "String" } ``` |
| costCenter.display | Name of the cost center.Data type: String |
| costCenter.value | Sys\_id of the cost center record. Data type: String |
| costCenter.$ref | Reference URI for the cost center.Data type: String |
| department | Details about the user's associated department.Data type: Object ``` "department": { "display": "String", "value": "String", "$ref": "String" } ``` |
| department.display | Name of the department.Data type: String |
| department.value | Sys\_id of the department record. Data type: String |
| department.$ref | Reference URI for the department.Data type: String |
| employeeNumber | Numeric or alphanumeric employee number.Data type: String |
| gender | Gender of the user, such as male or female.Data type: String |
| location | Details about the user's associated location.Data type: Object ``` "location": { "display": "String", "value": "String", "$ref": "String" } ``` |
| location.display | Name of the location.Data type: String |
| location.value | Sys\_id of the location record. Data type: String |
| location.$ref | Reference URI for the location.Data type: String |
| manager | Details about the user's associated manager.Data type: Object ``` "manager": { "display": "String", "value": "String", "$ref": "String" } ``` |
| manager.display | Name of the manager.Data type: String |
| manager.value | Sys\_id of the manager record. Data type: String |
| manager.$ref | Reference URI for the manager.Data type: String |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| Name | Description |
|---|---|
| attributes | Comma-separated list of fields to return in the response. No other fields are returned.Can't be used with the **excludedAttributes** parameter. Data type: String Default: Return all fields unless **excludedAttributes** is specified. |
| excludedAttributes | Comma-separated list of fields to exclude from the records returned in the response. All other fields are returned.Can't be used with the **attributes** parameter. Data type: String Default: Do not exclude any fields. |
| Name | Description |
|---|---|
| active | Flag that indicates whether the associated user is active within the ServiceNow instance.Possible values: - true: User is active. - false: User is inactive. Data type: Boolean |
| addresses | Details of the user's current mailing address.Data type: Object ``` "addresses": { "country": "String", "locality": "String", "postalCode": "String", "region": "String", "streetAddress": "String", "type": "String" } ``` |
| addresses.country | Country name.Data type: String |
| addresses.locality | City or locality name.Data type: String |
| addresses.postalCode | Zip or postal code.Data type: String |
| addresses.region | State or region.Data type: String |
| addresses.streetAddress | Full street address. This can include the house number, street name, PO Box, and multi-line extended street address information.Data type: String |
| addresses.type | Type of address. Currently only supports `home`.Data type: String |
| displayName | User display name. This value is auto-generated by concatenating the **name** fields. Data type: String |
| emails | List of email accounts associated with the user.Data type: Array of Objects ``` "emails:" [ { "type": "String", "value": "String" } ] ``` |
| emails.type | User email type. Currently only supports type of "work".Data type: String |
| emails.value | User's email address. This is a unique key for the associated user.Data type: String |
| externalId | Unique identifier assigned to the user by the entity provisioning it.Data type: String |
| name | User's name information.Data type: Object ``` "name": { "familyName": "String", "givenName": "String", "honorificPrefix": "String", "middleName": "String" } ``` |
| name.familyName | User's family or last name.Data type: String |
| name.givenName | User's given or first name.Data type: String |
| name.honorificPrefix | User's honorific name or title, such as Dr., Bishop, or Baron.Data type: String |
| name.middle | User's middle name.Data type: String |
| phoneNumbers | List of phone numbers associated with the user.Data type: Array of Objects ``` "phoneNumbers": [ { "type": "String", "value": "String" } ] ``` |
| phoneNumbers.type | Type of phone number.Possible values: - home - mobile - work Data type: String |
| phoneNumbers.value | User's phone number.Data type: String |
| preferredLanguage | User's preferred spoken and written language.Data type: String |
| timezone | User's time zone.Data type: String |
| title | User's title, such as CEO or President.Data type: String |
| userName | Required. Unique user name for the associated user. Data type: String |
| userType | User type. This value is used to identify the organization to user relationship.This can be any value, but typical values might include: - Contractor - Employee - Intern - Temp - External - Unknown Data type: String |
| Extended Schema | |
| company | Details about the user's associated company.Data type: Object ``` "company": { "value": "String" } ``` |
| company.value | Required if company is included in post. Sys\_id of the company record. Data type: String |
| costCenter | Details about the user's associated cost center.Data type: Object ``` "costCenter": { "value": "String" } ``` |
| costCenter.value | Required if costCenter is included in post. Sys\_id of the cost center record. Data type: String |
| department | Details about the user's associated department.Data type: Object ``` "department": { "value": "String" } ``` |
| department.value | Required if department is included in post. Sys\_id of the department record. Data type: String |
| employeeNumber | Numeric or alphanumeric employee number.Data type: String |
| gender | Gender of the user, such as male or female.Data type: String |
| location | Details about the user's associated location.Data type: Object ``` "location": { "value": "String" } ``` |
| location.value | Required if location is included in post. Sys\_id of the location record. Data type: String |
| manager | Details about the user's associated manager.Data type: Object ``` "manager": { "value": "String" } ``` |
| manager.value | Required if manager is included in post. Sys\_id of the manager record. Data type: String |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/scim+json**.Default: **application/json** |
| Content-Type | Data format of the request body. Supported types: **application/json** or **application/scim+json**.Default: **application/json** |
| Name | Description |
|---|---|
| active | Flag that indicates whether the associated user is active within the ServiceNow instance.Possible values: - true: User is active. - false: User is inactive. Data type: Boolean |
| addresses | Details of the user's current mailing address.Data type: Object ``` "addresses": { "country": "String", "locality": "String", "postalCode": "String", "region": "String", "streetAddress": "String", "type": "String" } ``` |
| addresses.country | Country name.Data type: String |
| addresses.locality | City or locality name.Data type: String |
| addresses.postalCode | Zip or postal code.Data type: String |
| addresses.region | State or region.Data type: String |
| addresses.streetAddress | Full street address. This can include the house number, street name, PO Box, and multi-line extended street address information.Data type: String |
| addresses.type | Type of address. Currently only supports `home`.Data type: String |
| displayName | User display name. This value is auto-generated by concatenating the **name** fields. Data type: String |
| emails | List of email accounts associated with the user.Data type: Array of Objects ``` "emails:" [ { "type": "String", "value": "String" } ] ``` |
| emails.type | User email type. Currently only supports type of "work".Data type: String |
| emails.value | User's email address. This is a unique key for the associated user.Data type: String |
| errors | Response that describes any errors that may have occurred during processing the request.Data type: Object ``` "errors": { "details": "String", "schemas": "String", "scimType": "String", "status": "String" } ``` |
| errors.detail | Detailed error message on why the request failed.Data type: String |
| errors.scimType | SCIM error detail keyword.Data type: String |
| errors.schemas | URI of the SCIM Schemas used to process the error response.Data type: Array of Strings |
| errors.status | HTTP status code for the error response.Data type: String |
| externalId | Unique identifier assigned to the user by the entity provisioning it.Data type: String |
| groups | List of groups to which the user belongs, either through direct membership, nested groups, or dynamically calculated.Data type: Array of Objects ``` "groups": [ { "display": "String", "type": "String", "value": "String", "$ref": "String" } ] ``` |
| groups.display | Name of the associated group.Data type: String |
| groups.type | Type of group association, such as direct or indirect.Data type: String |
| groups.value | Sys\_id of an associated group record.Data type: String |
| groups.$ref | URI of the associated group.Data type: String |
| id | Sys\_id of the associated User record.Data type: String |
| meta | Metadata pertaining to the user.Data type: Object ``` "meta": { "created": "String", "lastModified": "String", "location": String", "resourceType": String" } ``` |
| meta.created | Date and time when the user record was created.Data type: String |
| meta.lastModified | Date and time when the user record was last modified.Data type: String |
| meta.location | URI of the user being retrieved.Data type: String |
| meta.resourceType | SCIM Users' resource type.Data type: String |
| name | User's name information.Data type: Object ``` "name": { "familyName": "String", "givenName": "String", "honorificPrefix": "String", "middleName": "String" } ``` |
| name.familyName | User's family or last name.Data type: String |
| name.givenName | User's given or first name.Data type: String |
| name.honorificPrefix | User's honorific name or title, such as Dr., Bishop, or Baron.Data type: String |
| name.middle | User's middle name.Data type: String |
| phoneNumbers | List of phone numbers associated with the user.Data type: Array of Objects ``` "phoneNumbers": [ { "type": "String", "value": "String" } ] ``` |
| phoneNumbers.type | Type of phone number.Possible values: - home - mobile - work Data type: String |
| phoneNumbers.value | User's phone number.Data type: String |
| preferredLanguage | User's preferred spoken and written language.Data type: String |
| schemas | List of URIs of the SCIM User schemas used to process the request.Data type: Array of Strings |
| timezone | User's time zone.Data type: String |
| title | User's title, such as CEO or President.Data type: String |
| userName | Unique user name for the associated user. Data type: String |
| userType | User type. This value is used to identify the organization to user relationship.This can be any value, but typical values might include: - Contractor - Employee - Intern - Temp - External - Unknown Data type: String |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| user\_id | Sys\_id of the user record to update.Data type: String Table: User \[sys\_user\] |
| Name | Description |
|---|---|
| attributes | Comma-separated list of fields to return in the response. No other fields are returned.Can't be used with the **excludedAttributes** parameter. Data type: String Default: Return all fields unless **excludedAttributes** is specified. |
| excludedAttributes | Comma-separated list of fields to exclude from the records returned in the response. All other fields are returned.Can't be used with the **attributes** parameter. Data type: String Default: Do not exclude any fields. |
| Name | Description |
|---|---|
| active | Flag that indicates whether the associated user is active within the ServiceNow instance.Possible values: - true: User is active. - false: User is inactive. Data type: Boolean |
| addresses | Details of the user's current mailing address.Data type: Object ``` "addresses": { "country": "String", "locality": "String", "postalCode": "String", "region": "String", "streetAddress": "String", "type": "String" } ``` |
| addresses.country | Country name.Data type: String |
| addresses.locality | City or locality name.Data type: String |
| addresses.postalCode | Zip or postal code.Data type: String |
| addresses.region | State or region.Data type: String |
| addresses.streetAddress | Full street address. This can include the house number, street name, PO Box, and multi-line extended street address information.Data type: String |
| addresses.type | Type of address. Currently only supports `home`.Data type: String |
| displayName | User display name. This value is auto-generated by concatenating the **name** fields. Data type: String |
| emails | List of email accounts associated with the user.Data type: Array of Objects ``` "emails:" [ { "type": "String", "value": "String" } ] ``` |
| emails.type | User email type. Currently only supports type of "work".Data type: String |
| emails.value | User's email address. This is a unique key for the associated user.Data type: String |
| externalId | Unique identifier assigned to the user by the entity provisioning it.Data type: String |
| name | User's name information.Data type: Object ``` "name": { "familyName": "String", "givenName": "String", "honorificPrefix": "String", "middleName": "String" } ``` |
| name.familyName | User's family or last name.Data type: String |
| name.givenName | User's given or first name.Data type: String |
| name.honorificPrefix | User's honorific name or title, such as Dr., Bishop, or Baron.Data type: String |
| name.middle | User's middle name.Data type: String |
| phoneNumbers | List of phone numbers associated with the user.Data type: Array of Objects ``` "phoneNumbers": [ { "type": "String", "value": "String" } ] ``` |
| phoneNumbers.type | Type of phone number.Possible values: - home - mobile - work Data type: String |
| phoneNumbers.value | User's phone number.Data type: String |
| preferredLanguage | User's preferred spoken and written language.Data type: String |
| timezone | User's time zone.Data type: String |
| title | User's title, such as CEO or President.Data type: String |
| userName | Required. Unique user name for the associated user. Data type: String |
| userType | User type. This value is used to identify the organization to user relationship.This can be any value, but typical values might include: - Contractor - Employee - Intern - Temp - External - Unknown Data type: String |
| Extended Schema | |
| company | Details about the user's associated company.Data type: Object ``` "company": { "value": "String" } ``` |
| company.value | Required if company is included in post. Sys\_id of the company record. Data type: String |
| costCenter | Details about the user's associated cost center.Data type: Object ``` "costCenter": { "value": "String" } ``` |
| costCenter.value | Required if costCenter is included in post. Sys\_id of the cost center record. Data type: String |
| department | Details about the user's associated department.Data type: Object ``` "department": { "value": "String" } ``` |
| department.value | Required if department is included in post. Sys\_id of the department record. Data type: String |
| employeeNumber | Numeric or alphanumeric employee number.Data type: String |
| gender | Gender of the user, such as male or female.Data type: String |
| location | Details about the user's associated location.Data type: Object ``` "location": { "value": "String" } ``` |
| location.value | Required if location is included in post. Sys\_id of the location record. Data type: String |
| manager | Details about the user's associated manager.Data type: Object ``` "manager": { "value": "String" } ``` |
| manager.value | Required if manager is included in post. Sys\_id of the manager record. Data type: String |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/scim+json**.Default: **application/json** |
| Content-Type | Data format of the request body. Supported types: **application/json** or **application/scim+json**.Default: **application/json** |
| Name | Description |
|---|---|
| active | Flag that indicates whether the associated user is active within the ServiceNow instance.Possible values: - true: User is active. - false: User is inactive. Data type: Boolean |
| addresses | Details of the user's current mailing address.Data type: Object ``` "addresses": { "country": "String", "locality": "String", "postalCode": "String", "region": "String", "streetAddress": "String", "type": "String" } ``` |
| addresses.country | Country name.Data type: String |
| addresses.locality | City or locality name.Data type: String |
| addresses.postalCode | Zip or postal code.Data type: String |
| addresses.region | State or region.Data type: String |
| addresses.streetAddress | Full street address. This can include the house number, street name, PO Box, and multi-line extended street address information.Data type: String |
| addresses.type | Type of address. Currently only supports `home`.Data type: String |
| displayName | User display name. This value is auto-generated by concatenating the **name** fields. Data type: String |
| emails | List of email accounts associated with the user.Data type: Array of Objects ``` "emails:" [ { "type": "String", "value": "String" } ] ``` |
| emails.type | User email type. Currently only supports type of "work".Data type: String |
| emails.value | User's email address. This is a unique key for the associated user.Data type: String |
| errors | Response that describes any errors that may have occurred during processing the request.Data type: Object ``` "errors": { "details": "String", "schemas": "String", "scimType": "String", "status": "String" } ``` |
| errors.detail | Detailed error message on why the request failed.Data type: String |
| errors.scimType | SCIM error detail keyword.Data type: String |
| errors.schemas | URI of the SCIM Schemas used to process the error response.Data type: Array of Strings |
| errors.status | HTTP status code for the error response.Data type: String |
| externalId | Unique identifier assigned to the user by the entity provisioning it.Data type: String |
| groups | List of groups to which the user belongs, either through direct membership, nested groups, or dynamically calculated.Data type: Array of Objects ``` "groups": [ { "display": "String", "type": "String", "value": "String", "$ref": "String" } ] ``` |
| groups.display | Name of the associated group.Data type: String |
| groups.type | Type of group association, such as direct or indirect.Data type: String |
| groups.value | Sys\_id of an associated group record.Data type: String |
| groups.$ref | URI of the associated group.Data type: String |
| id | Sys\_id of the associated User record.Data type: String |
| meta | Metadata pertaining to the user.Data type: Object ``` "meta": { "created": "String", "lastModified": "String", "location": String", "resourceType": String" } ``` |
| meta.created | Date and time when the user record was created.Data type: String |
| meta.lastModified | Date and time when the user record was last modified.Data type: String |
| meta.location | URI of the user being retrieved.Data type: String |
| meta.resourceType | SCIM Users' resource type.Data type: String |
| name | User's name information.Data type: Object ``` "name": { "familyName": "String", "givenName": "String", "honorificPrefix": "String", "middleName": "String" } ``` |
| name.familyName | User's family or last name.Data type: String |
| name.givenName | User's given or first name.Data type: String |
| name.honorificPrefix | User's honorific name or title, such as Dr., Bishop, or Baron.Data type: String |
| name.middle | User's middle name.Data type: String |
| phoneNumbers | List of phone numbers associated with the user.Data type: Array of Objects ``` "phoneNumbers": [ { "type": "String", "value": "String" } ] ``` |
| phoneNumbers.type | Type of phone number.Possible values: - home - mobile - work Data type: String |
| phoneNumbers.value | User's phone number.Data type: String |
| preferredLanguage | User's preferred spoken and written language.Data type: String |
| schemas | List of URIs of the SCIM User schemas used to process the request.Data type: Array of Strings |
| timezone | User's time zone.Data type: String |
| title | User's title, such as CEO or President.Data type: String |
| userName | Unique user name for the associated user. Data type: String |
| userType | User type. This value is used to identify the organization to user relationship.This can be any value, but typical values might include: - Contractor - Employee - Intern - Temp - External - Unknown Data type: String |
| Name | Description |
|---|---|
| company | Details about the user's associated company.Data type: Object ``` "company": { "display": "String", "value": "String", "$ref": "String" } ``` |
| company.display | Name of the company.Data type: String |
| company.value | Sys\_id of the company record.Data type: String |
| company.$ref | Reference URI for the company.Data type: String |
| costCenter | Details about the user's associated cost center.Data type: Object ``` "costCenter": { "display": "String", "value": "String", "$ref": "String" } ``` |
| costCenter.display | Name of the cost center.Data type: String |
| costCenter.value | Sys\_id of the cost center record. Data type: String |
| costCenter.$ref | Reference URI for the cost center.Data type: String |
| department | Details about the user's associated department.Data type: Object ``` "department": { "display": "String", "value": "String", "$ref": "String" } ``` |
| department.display | Name of the department.Data type: String |
| department.value | Sys\_id of the department record. Data type: String |
| department.$ref | Reference URI for the department.Data type: String |
| employeeNumber | Numeric or alphanumeric employee number.Data type: String |
| gender | Gender of the user, such as male or female.Data type: String |
| location | Details about the user's associated location.Data type: Object ``` "location": { "display": "String", "value": "String", "$ref": "String" } ``` |
| location.display | Name of the location.Data type: String |
| location.value | Sys\_id of the location record. Data type: String |
| location.$ref | Reference URI for the location.Data type: String |
| manager | Details about the user's associated manager.Data type: Object ``` "manager": { "display": "String", "value": "String", "$ref": "String" } ``` |
| manager.display | Name of the manager.Data type: String |
| manager.value | Sys\_id of the manager record. Data type: String |
| manager.$ref | Reference URI for the manager.Data type: String |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/scim+json**.Default: **application/json** |
| Name | Description |
|---|---|
| itemsPerPage | Number of records returned in the return results.Data type: Number |
| Resources | List of available resource types.Data type: Array of Objects ``` "Resources": [ { "description": "String", "endpoint": "String", "id": "String", "meta": {Object}, "name": "String", "schema": "String" "schemas": [Array], "schemaExtensions": [Array] } ] ``` |
| Resources.description | Brief description of the resource type.Data type: String |
| Resources.endpoint | Name of the HTTP-addressable endpoint relative to the Base URL of the service provider, for example "Users".Data type: String |
| Resources.id | Unique identifier for the resource. Use this attribute when calling GET /scim/ResourceType/\{resource\_id\} endpoint.Data type: String |
| Resources.meta | Information that further describes the associated resource.Data type: Object ``` "metadata": { "location": "String", "resourceType": "String" } ``` |
| Resources.meta.location | URI of the associated resource type on the associated ServiceNow instance.Data type: String |
| Resources.meta.resourceType | Always "ResourceType".Data type: String |
| Resources.name | Name of the resource type, such as User or Group.Data type: String |
| Resources.schema | Resource type's primary/base schema URI. For example: `"urn:ietf:params:scim:schemas:core:2.0:User"`.Data type: String |
| Resources.schemas | Schema used to process the `/ResourceType` request. For example: `"urn:ietf:params:scim:schemas:core:2.0:ResourceType"`.Data type: String |
| Resources.schemaExtensions | List of schema extensions that apply to the associated resource type. For example: `"urn:ietf:params:scim:schemas:extension: servicenow:2.0:User"`.Data type: Array of Object ``` "schemaExtensions": { "required": Boolean, "schema": "String" } ``` |
| Resources.schemaExtensions.required | Flag that indicates whether the schema extension is required for the resource type.Possible values: - true: A resource of this type must include this schema extension and also include any attributes declared as required in this schema extension. - false: A resource of this type may omit this schema extension. Data type: Boolean |
| Resources.schemaExtensions.schema | URI of an extended schema. For example: `"urn:ietf:params:scim:schemas:extension:servicenow: 2.0:User"`.Data type: String |
| schemas | Schema used to process the list response to the request. For example: `"urn:ietf:params:scim:api:messages:2.0:ListResponse"` Data type: String |
| startIndex | One-based index into the Resource table at which records were retrieved. Data type: String |
| totalResults | Total number of records that match the request.Data type: Number |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| ResourceName | Unique ID of the resource type to retrieve.Valid values: - Company - CostCenter - Department - Group - Location - User Data type: String |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/scim+json**.Default: **application/json** |
| Name | Description |
|---|---|
| description | Brief description of the resource type.Data type: String |
| endpoint | Name of the HTTP-addressable endpoint relative to the Base URL of the service provider, for example "Companies".Data type: String |
| id | Unique identifier for the resource. Use this attribute when calling GET /scim/ResourceType/\{resource\_id\} endpoint.Data type: String |
| meta | Information that further describes the associated resource.Data type: Object ``` "metadata": { "location": "String", "resourceType": "String" } ``` |
| meta.location | URI of the associated resource type on the associated ServiceNow instance.Data type: String |
| meta.resourceType | Always "ResourceType".Data type: String |
| name | Name of the resource type, such as User or Group.Data type: String |
| schema | Resource type's primary/base schema URI. For example: `"urn:ietf:params:scim:schemas:core:2.0:User"`.Data type: String |
| schemas | Schema used to process the `/ResourceType` request. For example: `"urn:ietf:params:scim:schemas:core:2.0:ResourceType"`.Data type: String |
| schemaExtensions | List of schema extensions that apply to the associated resource type. For example: `"urn:ietf:params:scim:schemas:extension: servicenow:2.0:User"`.Data type: Array of Object ``` "schemaExtensions": { "required": Boolean, "schema": "String" } ``` |
| schemaExtensions.required | Flag that indicates whether the schema extension is required for the resource type.Possible values: - true: A resource of this type must include this schema extension and also include any attributes declared as required in this schema extension. - false: A resource of this type may omit this schema extension. Data type: Boolean |
| schemaExtensions.schema | URI of an extended schema. For example: `"urn:ietf:params:scim:schemas:extension:servicenow: 2.0:User"`.Data type: String |
| schemas | Schema used to process the list response to the request. For example: `"urn:ietf:params:scim:api:messages:2.0:ListResponse"` Data type: String |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/scim+json**.Default: **application/json** |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| SchemaName | URI of the resource schema to return.Valid values: - urn:ietf:params:scim:schemas:core:2.0:User - urn:ietf:params:scim:schemas:extension: enterprise:2.0:User - urn:ietf:params:scim:schemas:extension: servicenow:2.0:User - urn:ietf:params:scim:schemas:core:2.0:Group - urn:ietf:params:scim:schemas:custom: servicenow:2.0:Company - urn:ietf:params:scim:schemas:custom: servicenow:2.0:Department - urn:ietf:params:scim:schemas:custom: servicenow:2.0:CostCenter - urn:ietf:params:scim:schemas:custom: servicenow:2.0:Location Data type: String |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/scim+json**.Default: **application/json** |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/scim+json**.Default: **application/json** |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| Name | Description |
|---|---|
| attributes | Comma-separated list of fields to return in the response. No other fields are returned.Can't be used with the **excludedAttributes** parameter. Data type: String Default: Return all fields unless **excludedAttributes** is specified. |
| count | Number of records to return. A negative value is interpreted as zero.Data type: Number Maximum: 500 - A value greater than this results in a bad request error. Default: 10 |
| excludedAttributes | Comma-separated list of fields to exclude from the records returned in the response. All other fields are returned.Can't be used with the **attributes** parameter. Data type: String Default: Do not exclude any fields. |
| filter |
Filter expression to apply to the return results. Field filters are expressed as ` |
| sortBy | Must be specified with the **sortOrder** parameter. Field by which to sort the return results. Sorting is case-insensitive. You can only use those parameters available for filtering for the **sortBy** parameter, except that **externalId** is not allowed. For values that are null: - sorted by ascending: Null values are sorted to the top. - sorted by descending: Null values are sorted to the bottom. Data type: String Default: No sort |
| sortOrder | Must be specified with the **sortBy** parameter. Order in which the **sortBy** parameter is applied to the return results. Valid values: - ascending - descending Data type: String Default: ascending |
| startIndex | One-based index into the table at which to start retrieving records. For example, if you set this parameter to 100, and the **count** parameter to 20, the endpoint returns records 100 through 119. **Note:** Any value that is set to less than one is interpreted as one. Data type: String Default: 1 |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/scim+json**.Default: **application/json** |
| Status code | Description |
|---|---|
| 200 | Successful. The request was successfully processed. |
| 400 | Bad Request. A bad request type or malformed request was detected.- Ensure that both the **attributes** and **excludedAttributes** query parameters have not been passed in the request. - Ensure that the **count** parameter is not greater than 500. - Ensure that all **filter** parameters are valid. |
| 401 | Unauthorized. The user credentials are incorrect or have not been passed. |
| Name | Description |
|---|---|
| itemsPerPage | Number of records returned in the return results.Data type: Number |
| Resources | List of returned cost center records.Data type: Object ``` "Resources": { "id": "String", "meta": {Object}, "name": "String", "schemas": "String" } ``` |
| Resources.id | Sys\_id of the company record.Data type: String |
| Resources.meta | Information pertaining to the company record.Data type: Object ``` "meta": { "created": "String", "lastModified": "String", "location": "String", "resourcType": "String" } ``` |
| Resources.meta.created | Date and time the associated company record was created.Data type: String |
| Resources.meta.lastModified | Date and time the associated company record was last modified.Data type: String |
| Resources.meta.location | URI of the associated company record.Data type: String |
| Resources.meta.resourceType | SCIM resource type; always Company.Data type: String |
| Resources.name | Company name.Data type: String |
| Resources.schemas | Schema used when processing the request.Data type: String |
| schemas | Schema used to process the list response to the request. For example: `"urn:ietf:params:scim:api:messages:2.0:ListResponse"` Data type: String |
| startIndex | One-based index into the Company \[core\_company\] table at which the records were returned.Data type: String |
| totalResults | Total number of records that match the request.Data type: Number |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| company\_id | Sys\_id of the company record to return.Data type: String |
| Name | Description |
|---|---|
| attributes | Comma-separated list of fields to return in the response. No other fields are returned.Can't be used with the **excludedAttributes** parameter. Data type: String Default: Return all fields unless **excludedAttributes** is specified. |
| excludedAttributes | Comma-separated list of fields to exclude from the records returned in the response. All other fields are returned.Can't be used with the **attributes** parameter. Data type: String Default: Do not exclude any fields. |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/scim+json**.Default: **application/json** |
| Status code | Description |
|---|---|
| 200 | Successful. The request was successfully processed. |
| 400 | Bad Request. A bad request type or malformed request was detected.- Ensure that both the **attributes** and **excludedAttributes** query parameters have not been passed in the request. - Ensure that the **count** parameter is not greater than 500. - Ensure that all **filter** parameters are valid. |
| 401 | Unauthorized. The user credentials are incorrect or have not been passed. |
| 404 | Not found. The requested item wasn't found. |
| Name | Description |
|---|---|
| id | Sys\_id of the company record.Data type: String |
| meta | Information pertaining to the company record.Data type: Object ``` "meta": { "created": "String", "lastModified": "String", "location": "String", "resourcType": "String" } ``` |
| meta.created | Date and time the associated company record was created.Data type: String |
| meta.lastModified | Date and time the associated company record was last modified.Data type: String |
| meta.location | URI of the associated company record.Data type: String |
| meta.resourceType | SCIM resource type; always Company.Data type: String |
| name | Company name.Data type: String |
| schemas | Schema used when processing the request.Data type: String |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| Name | Description |
|---|---|
| attributes | Comma-separated list of fields to return in the response. No other fields are returned.Can't be used with the **excludedAttributes** parameter. Data type: String Default: Return all fields unless **excludedAttributes** is specified. |
| count | Number of records to return. A negative value is interpreted as zero.Data type: Number Maximum: 500 - A value greater than this results in a bad request error. Default: 10 |
| excludedAttributes | Comma-separated list of fields to exclude from the records returned in the response. All other fields are returned.Can't be used with the **attributes** parameter. Data type: String Default: Do not exclude any fields. |
| filter |
Filter expression to apply to the return results. Field filters are expressed as ` |
| sortBy | Must be specified with the **sortOrder** parameter. Field by which to sort the return results. Sorting is case-insensitive. You can only use those parameters available for filtering for the **sortBy** parameter, except that **externalId** is not allowed. For values that are null: - sorted by ascending: Null values are sorted to the top. - sorted by descending: Null values are sorted to the bottom. Data type: String Default: No sort |
| sortOrder | Must be specified with the **sortBy** parameter. Order in which the **sortBy** parameter is applied to the return results. Valid values: - ascending - descending Data type: String Default: ascending |
| startIndex | One-based index into the table at which to start retrieving records. For example, if you set this parameter to 100, and the **count** parameter to 20, the endpoint returns records 100 through 119. **Note:** Any value that is set to less than one is interpreted as one. Data type: String Default: 1 |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/scim+json**.Default: **application/json** |
| Status code | Description |
|---|---|
| 200 | Successful. The request was successfully processed. |
| 400 | Bad Request. A bad request type or malformed request was detected.- Ensure that both the **attributes** and **excludedAttributes** query parameters have not been passed in the request. - Ensure that the **count** parameter is not greater than 500. - Ensure that all **filter** parameters are valid. |
| 401 | Unauthorized. The user credentials are incorrect or have not been passed. |
| Name | Description |
|---|---|
| itemsPerPage | Number of records returned in the return results.Data type: Number |
| Resources | List of returned cost center records.Data type: Object ``` "Resources": { "id": "String", "meta": {Object}, "name": "String", "schemas": "String" } ``` |
| Resources.id | Sys\_id of the cost center record.Data type: String |
| Resources.meta | Information pertaining to the cost center record.Data type: Object ``` "meta": { "created": "String", "lastModified": "String", "location": "String", "resourcType": "String" } ``` |
| Resources.meta.created | Date and time the associated cost center record was created.Data type: String |
| Resources.meta.lastModified | Date and time the associated cost center record was last modified.Data type: String |
| Resources.meta.location | URI of the associated cost center record.Data type: String |
| Resources.meta.resourceType | SCIM resource type; always CostCenter.Data type: String |
| Resources.name | Cost center name.Data type: String |
| Resources.schemas | Schema used when processing the request.Data type: String |
| schemas | Schema used to process the list response to the request. For example: `"urn:ietf:params:scim:api:messages:2.0:ListResponse"` Data type: String |
| startIndex | One-based index into the Cost Center \[cmn\_cost\_center\] table at which the records were returned.Data type: String |
| totalResults | Total number of records that match the request.Data type: Number |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| cost\_center\_id | Sys\_id of the cost center record to return.Data type: String |
| Name | Description |
|---|---|
| attributes | Comma-separated list of fields to return in the response. No other fields are returned.Can't be used with the **excludedAttributes** parameter. Data type: String Default: Return all fields unless **excludedAttributes** is specified. |
| excludedAttributes | Comma-separated list of fields to exclude from the records returned in the response. All other fields are returned.Can't be used with the **attributes** parameter. Data type: String Default: Do not exclude any fields. |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/scim+json**.Default: **application/json** |
| Status code | Description |
|---|---|
| 200 | Successful. The request was successfully processed. |
| 400 | Bad Request. A bad request type or malformed request was detected.- Ensure that both the **attributes** and **excludedAttributes** query parameters have not been passed in the request. - Ensure that the **count** parameter is not greater than 500. - Ensure that all **filter** parameters are valid. |
| 401 | Unauthorized. The user credentials are incorrect or have not been passed. |
| 404 | Not found. The requested item wasn't found. |
| Name | Description |
|---|---|
| id | Sys\_id of the cost center record.Data type: String |
| meta | Information pertaining to the cost center record.Data type: Object ``` "meta": { "created": "String", "lastModified": "String", "location": "String", "resourcType": "String" } ``` |
| meta.created | Date and time the associated cost center record was created.Data type: String |
| meta.lastModified | Date and time the associated cost center record was last modified.Data type: String |
| meta.location | URI of the associated cost center record.Data type: String |
| meta.resourceType | SCIM resource type; always CostCenter.Data type: String |
| name | Cost center name.Data type: String |
| schemas | Schema used when processing the request.Data type: String |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| Name | Description |
|---|---|
| attributes | Comma-separated list of fields to return in the response. No other fields are returned.Can't be used with the **excludedAttributes** parameter. Data type: String Default: Return all fields unless **excludedAttributes** is specified. |
| count | Number of records to return. A negative value is interpreted as zero.Data type: Number Maximum: 500 - A value greater than this results in a bad request error. Default: 10 |
| excludedAttributes | Comma-separated list of fields to exclude from the records returned in the response. All other fields are returned.Can't be used with the **attributes** parameter. Data type: String Default: Do not exclude any fields. |
| filter |
Filter expression to apply to the return results. Field filters are expressed as ` |
| sortBy | Must be specified with the **sortOrder** parameter. Field by which to sort the return results. Sorting is case-insensitive. You can only use those parameters available for filtering for the **sortBy** parameter, except that **externalId** is not allowed. For values that are null: - sorted by ascending: Null values are sorted to the top. - sorted by descending: Null values are sorted to the bottom. Data type: String Default: No sort |
| sortOrder | Must be specified with the **sortBy** parameter. Order in which the **sortBy** parameter is applied to the return results. Valid values: - ascending - descending Data type: String Default: ascending |
| startIndex | One-based index into the table at which to start retrieving records. For example, if you set this parameter to 100, and the **count** parameter to 20, the endpoint returns records 100 through 119. **Note:** Any value that is set to less than one is interpreted as one. Data type: String Default: 1 |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/scim+json**.Default: **application/json** |
| Status code | Description |
|---|---|
| 200 | Successful. The request was successfully processed. |
| 400 | Bad Request. A bad request type or malformed request was detected.- Ensure that both the **attributes** and **excludedAttributes** query parameters have not been passed in the request. - Ensure that the **count** parameter is not greater than 500. - Ensure that all **filter** parameters are valid. |
| 401 | Unauthorized. The user credentials are incorrect or have not been passed. |
| Name | Description |
|---|---|
| itemsPerPage | Number of records returned in the return results.Data type: Number |
| Resources | List of returned department records.Data type: Object ``` "Resources": { "id": "String", "meta": {Object}, "name": "String", "schemas": "String" } ``` |
| Resources.id | Sys\_id of the department record.Data type: String |
| Resources.meta | Information pertaining to the department record.Data type: Object ``` "meta": { "created": "String", "lastModified": "String", "location": "String", "resourcType": "String" } ``` |
| Resources.meta.created | Date and time the associated department record was created.Data type: String |
| Resources.meta.lastModified | Date and time the associated department record was last modified.Data type: String |
| Resources.meta.location | URI of the associated department record.Data type: String |
| Resources.meta.resourceType | SCIM resource type; always Department.Data type: String |
| Resources.name | Department name.Data type: String |
| Resources.schemas | |
| schemas | |
| startIndex | One-based index into the Department \[cmn\_department\] table at which the records were returned.Data type: String |
| totalResults | Total number of records that match the request.Data type: Number |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| department\_id | Sys\_id of the department record to return.Data type: String |
| Name | Description |
|---|---|
| attributes | Comma-separated list of fields to return in the response. No other fields are returned.Can't be used with the **excludedAttributes** parameter. Data type: String Default: Return all fields unless **excludedAttributes** is specified. |
| excludedAttributes | Comma-separated list of fields to exclude from the records returned in the response. All other fields are returned.Can't be used with the **attributes** parameter. Data type: String Default: Do not exclude any fields. |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/scim+json**.Default: **application/json** |
| Status code | Description |
|---|---|
| 200 | Successful. The request was successfully processed. |
| 400 | Bad Request. A bad request type or malformed request was detected.- Ensure that both the **attributes** and **excludedAttributes** query parameters have not been passed in the request. - Ensure that the **count** parameter is not greater than 500. - Ensure that all **filter** parameters are valid. |
| 401 | Unauthorized. The user credentials are incorrect or have not been passed. |
| 404 | Not found. The requested item wasn't found. |
| Name | Description |
|---|---|
| id | Sys\_id of the department record.Data type: String |
| meta | Information pertaining to the department record.Data type: Object ``` "meta": { "created": "String", "lastModified": "String", "location": "String", "resourcType": "String" } ``` |
| meta.created | Date and time the associated department record was created.Data type: String |
| meta.lastModified | Date and time the associated department record was last modified.Data type: String |
| meta.location | URI of the associated department record.Data type: String |
| meta.resourceType | SCIM resource type; always Department.Data type: String |
| name | Department name.Data type: String |
| schemas | Schema used when processing the request.Data type: String |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| Name | Description |
|---|---|
| attributes | Comma-separated list of fields to return in the response. No other fields are returned.Can't be used with the **excludedAttributes** parameter. Data type: String Default: Return all fields unless **excludedAttributes** is specified. |
| count | Number of records to return. A negative value is interpreted as zero.Data type: Number Maximum: 500 - A value greater than this results in a bad request error. Default: 10 |
| excludedAttributes | Comma-separated list of fields to exclude from the records returned in the response. All other fields are returned.Can't be used with the **attributes** parameter. Data type: String Default: Do not exclude any fields. |
| filter |
Filter expression to apply to the return results. Field filters are expressed as ` |
| sortBy | Must be specified with the **sortOrder** parameter. Field by which to sort the return results. Sorting is case-insensitive. You can only use those parameters available for filtering for the **sortBy** parameter, except that **externalId** is not allowed. For values that are null: - sorted by ascending: Null values are sorted to the top. - sorted by descending: Null values are sorted to the bottom. Data type: String Default: No sort |
| sortOrder | Must be specified with the **sortBy** parameter. Order in which the **sortBy** parameter is applied to the return results. Valid values: - ascending - descending Data type: String Default: ascending |
| startIndex | One-based index into the table at which to start retrieving records. For example, if you set this parameter to 100, and the **count** parameter to 20, the endpoint returns records 100 through 119. **Note:** Any value that is set to less than one is interpreted as one. Data type: String Default: 1 |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/scim+json**.Default: **application/json** |
| Status code | Description |
|---|---|
| 200 | Successful. The request was successfully processed. |
| 400 | Bad Request. A bad request type or malformed request was detected.- Ensure that both the **attributes** and **excludedAttributes** query parameters have not been passed in the request. - Ensure that the **count** parameter is not greater than 500. - Ensure that all **filter** parameters are valid. |
| 401 | Unauthorized. The user credentials are incorrect or have not been passed. |
| Name | Description |
|---|---|
| itemsPerPage | Number of records returned in the return results.Data type: Number |
| Resources | List of returned location records.Data type: Object ``` "Resources": { "id": "String", "meta": {Object}, "name": "String", "schemas": "String" } ``` |
| Resources.id | Sys\_id of the location record.Data type: String |
| Resources.meta | Information pertaining to the location record.Data type: Object ``` "meta": { "created": "String", "lastModified": "String", "location": "String", "resourceType": "String" } ``` |
| Resources.meta.created | Date and time the associated location record was created.Data type: String |
| Resources.meta.lastModified | Date and time the associated location record was last modified.Data type: String |
| Resources.meta.location | URI of the associated location record.Data type: String |
| Resources.meta.resourceType | SCIM resource type; always Location.Data type: String |
| Resources.name | Location name.Data type: String |
| Resources.schemas | Schema used when processing the request.Data type: String |
| schemas | Schema used to process the list response to the request. For example: `"urn:ietf:params:scim:api:messages:2.0:ListResponse"` Data type: String |
| startIndex | One-based index into the Location \[cmn\_location\] table at which the records were returned.Data type: String |
| totalResults | Total number of records that match the request.Data type: Number |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| location\_id | Sys\_id of the location record to return.Data type: String |
| Name | Description |
|---|---|
| attributes | Comma-separated list of fields to return in the response. No other fields are returned.Can't be used with the **excludedAttributes** parameter. Data type: String Default: Return all fields unless **excludedAttributes** is specified. |
| excludedAttributes | Comma-separated list of fields to exclude from the records returned in the response. All other fields are returned.Can't be used with the **attributes** parameter. Data type: String Default: Do not exclude any fields. |
| Header | Description |
|---|---|
| Accept | Data format of the response body. Supported types: **application/json** or **application/scim+json**.Default: **application/json** |
| Status code | Description |
|---|---|
| 200 | Successful. The request was successfully processed. |
| 400 | Bad Request. A bad request type or malformed request was detected.- Ensure that both the **attributes** and **excludedAttributes** query parameters have not been passed in the request. - Ensure that the **count** parameter is not greater than 500. - Ensure that all **filter** parameters are valid. |
| 401 | Unauthorized. The user credentials are incorrect or have not been passed. |
| 404 | Not found. The requested item wasn't found. |
| Name | Description |
|---|---|
| id | Sys\_id of the location record.Data type: String |
| meta | Information pertaining to the location record.Data type: Object ``` "meta": { "created": "String", "lastModified": "String", "location": "String", "resourceType": "String" } ``` |
| meta.created | Date and time the associated location record was created.Data type: String |
| meta.lastModified | Date and time the associated location record was last modified.Data type: String |
| meta.location | URI of the associated location record.Data type: String |
| meta.resourceType | SCIM resource type; always Location.Data type: String |
| name | Location name.Data type: String |
| schemas | Schema used when processing the request.Data type: String |