SCIM 2.0 Schema API
The SCIM 2.0 Schemas Retrieval API (version v1).
Download the OpenAPI definition (YAML)
Schemas Endpoint
This API lists and returns metadata about SCIM 2.0 schemas.
Get All Schemas
GET /Schemas
This API returns all supported SCIM 2.0 schema definitions.
No additional scopes or permissions required. Authentication is required.
Responses
| Code | Description | Schema |
|---|---|---|
200 | Schemas are found | array of SchemaObject |
401 | Unauthorized | ErrorUnauthorized |
404 | Schema not found | ErrorSchemaNotFound |
Get Schema by ID
GET /Schemas/{id}
This API returns the SCIM 2.0 schema definition identified by the given id.
No additional scopes or permissions required. Authentication is required.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | Yes | Unique ID of the schema (e.g., urn:ietf:params:scim:schemas:core:2.0:User). |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Schema is found | SchemaObject |
401 | Unauthorized | ErrorUnauthorized |
404 | Schema not found | ErrorSchemaNotFound |
Schemas
SchemaObject
Type: object
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | The name of the schema. | |
description | string | The description of the schema. | |
attributes | array of SchemaAttribute | The list of attributes defined in the schema. | |
id | string | The unique URI of the schema. |
SchemaAttribute
Type: object
20 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | The attribute's name. | |
type | string | The attribute's data type. Allowed values: | |
multiValued | boolean | Whether the attribute is multi-valued. | |
description | string | The attribute's human-readable description. | |
required | boolean | Whether the attribute is required. | |
caseExact | boolean | Whether the string attribute is case sensitive. | |
mutability | string | Indicates whether the attribute is mutable. Allowed values: | |
returned | string | Indicates when an attribute is returned in a response. Allowed values: | |
uniqueness | string | Indicates how unique a value must be. Allowed values: | |
displayName | string | The display name of the attribute. | |
displayOrder | integer | The display order of the attribute. | |
supportedByDefault | boolean | Whether the attribute is supported by default. | |
sharedProfileValueResolvingMethod | string | The method used to resolve shared profile values. | |
regEx | string | The regular expression for validating the attribute value. | |
subAttributes | array of SchemaSubAttribute | The sub-attributes of a COMPLEX attribute. | |
profiles | object | Profile-specific configurations for the attribute. | |
profiles.console | object | ||
inputFormat | object | The input format configuration for the attribute. | |
inputFormat.inputType | string | ||
excludedUserStores | string | Comma-separated list of excluded user stores. |
SchemaSubAttribute
Type: object
19 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | The sub-attribute's name. | |
type | string | The sub-attribute's data type. Allowed values: | |
multiValued | boolean | Whether the sub-attribute is multi-valued. | |
description | string | The sub-attribute's human-readable description. | |
required | boolean | Whether the sub-attribute is required. | |
caseExact | boolean | Whether the string sub-attribute is case sensitive. | |
mutability | string | Indicates whether the sub-attribute is mutable. Allowed values: | |
returned | string | Indicates when a sub-attribute is returned in a response. Allowed values: | |
uniqueness | string | Indicates how unique a value must be. Allowed values: | |
displayName | string | The display name of the sub-attribute. | |
displayOrder | integer | The display order of the sub-attribute. | |
supportedByDefault | boolean | Whether the sub-attribute is supported by default. | |
sharedProfileValueResolvingMethod | string | The method used to resolve shared profile values. | |
regEx | string | The regular expression for validating the sub-attribute value. | |
profiles | object | Profile-specific configurations for the sub-attribute. | |
profiles.console | object | ||
inputFormat | object | The input format configuration for the sub-attribute. | |
inputFormat.inputType | string | ||
excludedUserStores | string | Comma-separated list of excluded user stores. |
ErrorUnauthorized
Type: object
3 properties
| Name | Type | Required | Description |
|---|---|---|---|
schemas | string | Yes | |
detail | string | ||
status | string | Yes |
ErrorSchemaNotFound
Type: object
3 properties
| Name | Type | Required | Description |
|---|---|---|---|
status | string | Yes | |
schemas | string | Yes | |
detail | string | Yes |
Was this page helpful?