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

SCIM 2.0 Schema API

Download OpenAPI (YAML)Version v1

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

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

CodeDescriptionSchema
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

NameInTypeRequiredDescription
idpathstringYes

Unique ID of the schema (e.g., urn:ietf:params:scim:schemas:core:2.0:User).

Responses

CodeDescriptionSchema
200

Schema is found

SchemaObject
401

Unauthorized

ErrorUnauthorized
404

Schema not found

ErrorSchemaNotFound

Schemas​

SchemaObject​

Type: object

4 properties
NameTypeRequiredDescription
namestring

The name of the schema.

descriptionstring

The description of the schema.

attributesarray of SchemaAttribute

The list of attributes defined in the schema.

idstring

The unique URI of the schema.

SchemaAttribute​

Type: object

20 properties
NameTypeRequiredDescription
namestring

The attribute's name.

typestring

The attribute's data type.

Allowed values: STRING, COMPLEX, BOOLEAN, DECIMAL, INTEGER, DATE_TIME, DATE, BINARY, REFERENCE

multiValuedboolean

Whether the attribute is multi-valued.

descriptionstring

The attribute's human-readable description.

requiredboolean

Whether the attribute is required.

caseExactboolean

Whether the string attribute is case sensitive.

mutabilitystring

Indicates whether the attribute is mutable.

Allowed values: READ_ONLY, READ_WRITE, IMMUTABLE, WRITE_ONLY

returnedstring

Indicates when an attribute is returned in a response.

Allowed values: ALWAYS, NEVER, DEFAULT, REQUEST

uniquenessstring

Indicates how unique a value must be.

Allowed values: NONE

displayNamestring

The display name of the attribute.

displayOrderinteger

The display order of the attribute.

supportedByDefaultboolean

Whether the attribute is supported by default.

sharedProfileValueResolvingMethodstring

The method used to resolve shared profile values.

regExstring

The regular expression for validating the attribute value.

subAttributesarray of SchemaSubAttribute

The sub-attributes of a COMPLEX attribute.

profilesobject

Profile-specific configurations for the attribute.

profiles.consoleobject
inputFormatobject

The input format configuration for the attribute.

inputFormat.inputTypestring
excludedUserStoresstring

Comma-separated list of excluded user stores.

SchemaSubAttribute​

Type: object

19 properties
NameTypeRequiredDescription
namestring

The sub-attribute's name.

typestring

The sub-attribute's data type.

Allowed values: STRING, COMPLEX, BOOLEAN, DECIMAL, INTEGER, DATE_TIME, DATE, BINARY, REFERENCE

multiValuedboolean

Whether the sub-attribute is multi-valued.

descriptionstring

The sub-attribute's human-readable description.

requiredboolean

Whether the sub-attribute is required.

caseExactboolean

Whether the string sub-attribute is case sensitive.

mutabilitystring

Indicates whether the sub-attribute is mutable.

Allowed values: READ_ONLY, READ_WRITE, IMMUTABLE, WRITE_ONLY

returnedstring

Indicates when a sub-attribute is returned in a response.

Allowed values: ALWAYS, NEVER, DEFAULT, REQUEST

uniquenessstring

Indicates how unique a value must be.

Allowed values: NONE

displayNamestring

The display name of the sub-attribute.

displayOrderinteger

The display order of the sub-attribute.

supportedByDefaultboolean

Whether the sub-attribute is supported by default.

sharedProfileValueResolvingMethodstring

The method used to resolve shared profile values.

regExstring

The regular expression for validating the sub-attribute value.

profilesobject

Profile-specific configurations for the sub-attribute.

profiles.consoleobject
inputFormatobject

The input format configuration for the sub-attribute.

inputFormat.inputTypestring
excludedUserStoresstring

Comma-separated list of excluded user stores.

ErrorUnauthorized​

Type: object

3 properties
NameTypeRequiredDescription
schemasstringYes
detailstring
statusstringYes

ErrorSchemaNotFound​

Type: object

3 properties
NameTypeRequiredDescription
statusstringYes
schemasstringYes
detailstringYes

Was this page helpful?