Provision a member
const url = 'https://example.com/scim/v2/Users';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/scim+json'}, body: '{ "schemas": [ "example" ], "externalId": "example", "userName": "example", "name": { "givenName": "example", "familyName": "example" }, "displayName": "example", "emails": [ { "value": "example", "primary": true, "type": "example" } ], "active": true, "meta": { "resourceType": "example", "created": "2026-04-15T12:00:00Z", "lastModified": "2026-04-15T12:00:00Z", "location": "example" } }'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/scim/v2/Users \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/scim+json' \ --data '{ "schemas": [ "example" ], "externalId": "example", "userName": "example", "name": { "givenName": "example", "familyName": "example" }, "displayName": "example", "emails": [ { "value": "example", "primary": true, "type": "example" } ], "active": true, "meta": { "resourceType": "example", "created": "2026-04-15T12:00:00Z", "lastModified": "2026-04-15T12:00:00Z", "location": "example" } }'Creates an active provisioned member, with no credential:
userName (wins over emails[primary].value when both are sent
and differ) becomes the member’s email. A taken email is 409
uniqueness.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”A member, as SCIM describes a user.
object
object
object
The provider’s groups the member is in, by displayName; read only.
A reference to another resource.
object
The referenced resource’s id.
object
Example generated
{ "schemas": [ "example" ], "externalId": "example", "userName": "example", "name": { "givenName": "example", "familyName": "example" }, "displayName": "example", "emails": [ { "value": "example", "primary": true, "type": "example" } ], "active": true, "meta": { "resourceType": "example", "created": "2026-04-15T12:00:00Z", "lastModified": "2026-04-15T12:00:00Z", "location": "example" }}Responses
Section titled “Responses”The created member.
A member, as SCIM describes a user.
object
object
object
The provider’s groups the member is in, by displayName; read only.
A reference to another resource.
object
The referenced resource’s id.
object
Example generated
{ "schemas": [ "example" ], "externalId": "example", "userName": "example", "name": { "givenName": "example", "familyName": "example" }, "displayName": "example", "emails": [ { "value": "example", "primary": true, "type": "example" } ], "active": true, "meta": { "resourceType": "example", "created": "2026-04-15T12:00:00Z", "lastModified": "2026-04-15T12:00:00Z", "location": "example" }}The body, the filter or a patch path is malformed (invalidFilter, invalidPath, or no scimType).
object
Example generated
{ "schemas": [ "example" ], "status": "example", "scimType": "example", "detail": "example"}No usable SCIM bearer: missing, not fn_scim_…, unknown, revoked,
expired or of a disabled provider, with WWW-Authenticate: Bearer
and no scimType (RFC 7644 defines none for it). A refused bearer counts against the
address’s throttle; an address over it is answered 429.
object
Example generated
{ "schemas": [ "example" ], "status": "example", "scimType": "example", "detail": "example"}Headers
Section titled “Headers”Another member already holds this email or this externalId, the
email belongs to a member who cannot be adopted, or another group of
the provider has this displayName or externalId (uniqueness).
object
Example generated
{ "schemas": [ "example" ], "status": "example", "scimType": "example", "detail": "example"}