Skip to main content
Replace a SCIM account

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Path Parameters

id
string
required

Identifier of the account, which here is its own userName in lower case.

Minimum string length: 1
Example:

"john.doe@example.com"

Body

application/json
schemas
string[]
required

URNs of the schemas this representation is built from. The core User schema is the only one this service understands.

Example:
userName
string
required

Name of the account. It identifies the account and cannot be changed, so a value differing from the one held here is accepted and left without effect.

Example:

"john.doe@example.com"

active
boolean

Whether the account is to stay usable. Turning it off suspends the person; turning it back on returns a suspended person to work. The strings true and false are accepted in place of a boolean, in any casing, because Azure Entra ID sends its booleans as strings unless the aadOptscim062020 flag is switched on for the tenant.

Example:

true

displayName
string

Name to show the person by. It becomes their full name here.

Example:

"John Doe"

emails
object[]

E-mail addresses of the person. The address the account is reached at is fixed when the account is opened, so what is sent here is accepted and left without effect.

externalId
string

Identifier of the account in the provisioning client's own directory. It is accepted for compatibility, but nothing is done with it and it is never returned.

Example:

"ext-001"

phoneNumbers
object[]

Telephone numbers of the person. Only the first is kept, with its spaces removed.

title
string

The person's job title.

Example:

"Software Engineer"

Response

Returns the account as it now stands.

id
string
required

Identifier of the account, which here is its own userName in lower case. Every later request addresses the account by it.

Example:

"john.doe@example.com"

schemas
string[]
required

URNs of the schemas this representation is built from.

Example:
userName
string
required

Name the person signs in with. It is settled when the account is opened and never changes.

Example:

"john.doe@example.com"

active
boolean

Whether the account is usable. It is false for a person who has been suspended or removed, whether through this service or by an administrator here.

Example:

true

displayName
string

Name the person is shown by. Left out when they have none recorded.

Example:

"John Doe"

emails
object[]

The one address the account is reached at, as a single entry. Left out when the account has none.

externalId
string

Identifier of the account in the provisioning client's own directory.

Example:

"ext-001"

meta
object

What this service knows about the resource itself rather than about the person.

phoneNumbers
object[]

The one telephone number recorded for the person, as a single entry. Left out when there is none.

title
string

The person's job title. Left out when they have none recorded.

Example:

"Software Engineer"