Skip to Content
Documentation

SCIM

SCIM 2.0 provisioning, authenticated with an organization's SCIM token.

/scim/v2/Groups

GET
/scim/v2/Groups

Query Parameters

attributes?string|array<string>
excludedAttributes?string|array<string>
filter?string
startIndex?string|number
count?string|number

Response Body

SCIM Group list

application/scim+json
  1. response
totalResults?number
itemsPerPage?number
startIndex?number
Resources?array<>
Example Request
curl -X GET 'https://auth.example.com/api/auth/scim/v2/Groups'
Example Response
{  "totalResults": 0,  "itemsPerPage": 0,  "startIndex": 0,  "Resources": [    {      "id": "string",      "externalId": "string",      "displayName": "string",      "members": [        {          "value": "string",          "$ref": "string",          "display": "string",          "type": "User"        }      ],      "meta": {        "resourceType": "string",        "created": "2019-08-24T14:15:22Z",        "lastModified": "2019-08-24T14:15:22Z",        "location": "string"      },      "schemas": [        "string"      ]    }  ]}

/scim/v2/Groups

POST
/scim/v2/Groups

Query Parameters

attributes?string|array<string>
excludedAttributes?string|array<string>

Request Body

application/json
  1. body
schemas*array<>
externalId?string
Length1 <= length
displayName*string
Length1 <= length
members?array<>

Response Body

SCIM Group resource

application/scim+json
  1. response
id*string
externalId?string
displayName?string
members?array<>
Itemsitems <= 1000
meta?
schemas*array<string>
Example Request
curl -X POST 'https://auth.example.com/api/auth/scim/v2/Groups' \  -H 'Content-Type: application/json' \  -d '{  "schemas": [    "urn:ietf:params:scim:schemas:core:2.0:Group"  ],  "displayName": "string"}'
Example Response
{  "id": "string",  "externalId": "string",  "displayName": "string",  "members": [    {      "value": "string",      "$ref": "string",      "display": "string",      "type": "User"    }  ],  "meta": {    "resourceType": "string",    "created": "2019-08-24T14:15:22Z",    "lastModified": "2019-08-24T14:15:22Z",    "location": "string"  },  "schemas": [    "string"  ]}
GET
/scim/v2/Groups/{groupId}

Path Parameters

groupId*string

Query Parameters

attributes?string|array<string>
excludedAttributes?string|array<string>

Response Body

SCIM Group resource

application/scim+json
  1. response
id*string
externalId?string
displayName?string
members?array<>
Itemsitems <= 1000
meta?
schemas*array<string>
Example Request
curl -X GET 'https://auth.example.com/api/auth/scim/v2/Groups/string'
Example Response
{  "id": "string",  "externalId": "string",  "displayName": "string",  "members": [    {      "value": "string",      "$ref": "string",      "display": "string",      "type": "User"    }  ],  "meta": {    "resourceType": "string",    "created": "2019-08-24T14:15:22Z",    "lastModified": "2019-08-24T14:15:22Z",    "location": "string"  },  "schemas": [    "string"  ]}
PATCH
/scim/v2/Groups/{groupId}

Path Parameters

groupId*string

Query Parameters

attributes?string|array<string>
excludedAttributes?string|array<string>

Request Body

application/json
  1. body
schemas*array<>
Operations*array<>

Response Body

Updated SCIM Group resource

application/scim+json
  1. response
id*string
externalId?string
displayName?string
members?array<>
Itemsitems <= 1000
meta?
schemas*array<string>
Example Request
curl -X PATCH 'https://auth.example.com/api/auth/scim/v2/Groups/string' \  -H 'Content-Type: application/json' \  -d '{  "schemas": [    "urn:ietf:params:scim:api:messages:2.0:PatchOp"  ],  "Operations": [    {}  ]}'
Example Response
{  "id": "string",  "externalId": "string",  "displayName": "string",  "members": [    {      "value": "string",      "$ref": "string",      "display": "string",      "type": "User"    }  ],  "meta": {    "resourceType": "string",    "created": "2019-08-24T14:15:22Z",    "lastModified": "2019-08-24T14:15:22Z",    "location": "string"  },  "schemas": [    "string"  ]}
DELETE
/scim/v2/Groups/{groupId}

Path Parameters

groupId*string

Response Body

SCIM Group deleted

Example Request
curl -X DELETE 'https://auth.example.com/api/auth/scim/v2/Groups/string'
Example Response
Empty
PUT
/scim/v2/Groups/{groupId}

Path Parameters

groupId*string

Query Parameters

attributes?string|array<string>
excludedAttributes?string|array<string>

Request Body

application/json
  1. body
schemas*array<>
externalId?string
Length1 <= length
displayName*string
Length1 <= length
members?array<>

Response Body

SCIM Group resource

application/scim+json
  1. response
id*string
externalId?string
displayName?string
members?array<>
Itemsitems <= 1000
meta?
schemas*array<string>
Example Request
curl -X PUT 'https://auth.example.com/api/auth/scim/v2/Groups/string' \  -H 'Content-Type: application/json' \  -d '{  "schemas": [    "urn:ietf:params:scim:schemas:core:2.0:Group"  ],  "displayName": "string"}'
Example Response
{  "id": "string",  "externalId": "string",  "displayName": "string",  "members": [    {      "value": "string",      "$ref": "string",      "display": "string",      "type": "User"    }  ],  "meta": {    "resourceType": "string",    "created": "2019-08-24T14:15:22Z",    "lastModified": "2019-08-24T14:15:22Z",    "location": "string"  },  "schemas": [    "string"  ]}

/scim/v2/Users

GET
/scim/v2/Users

Query Parameters

attributes?string|array<string>
excludedAttributes?string|array<string>
filter?string
startIndex?string|number
count?string|number

Response Body

SCIM User list

application/scim+json
  1. response
totalResults?number
itemsPerPage?number
startIndex?number
Resources?array<>
Example Request
curl -X GET 'https://auth.example.com/api/auth/scim/v2/Users'
Example Response
{  "totalResults": 0,  "itemsPerPage": 0,  "startIndex": 0,  "Resources": [    {      "id": "string",      "externalId": "string",      "meta": {        "resourceType": "string",        "created": "2019-08-24T14:15:22Z",        "lastModified": "2019-08-24T14:15:22Z",        "location": "string"      },      "userName": "string",      "name": {        "formatted": "string",        "givenName": "string",        "familyName": "string",        "middleName": "string",        "honorificPrefix": "string",        "honorificSuffix": "string"      },      "displayName": "string",      "title": "string",      "userType": "string",      "preferredLanguage": "string",      "locale": "string",      "timezone": "string",      "active": true,      "emails": [        {          "value": "user@example.com",          "type": "string",          "primary": true        }      ],      "phoneNumbers": [        {          "value": "string",          "type": "string",          "primary": true        }      ],      "addresses": [        {          "formatted": "string",          "streetAddress": "string",          "locality": "string",          "region": "string",          "postalCode": "string",          "country": "string",          "type": "string",          "primary": true        }      ],      "roles": [        {          "value": "string",          "display": "string",          "type": "string",          "primary": true        }      ],      "entitlements": [        {          "value": "string",          "display": "string",          "type": "string",          "primary": true        }      ],      "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": {        "employeeNumber": "string",        "costCenter": "string",        "organization": "string",        "division": "string",        "department": "string",        "manager": {          "value": "string",          "$ref": "string"        }      },      "schemas": [        "urn:ietf:params:scim:schemas:core:2.0:User"      ]    }  ]}

/scim/v2/Users

POST
/scim/v2/Users

Query Parameters

attributes?string|array<string>
excludedAttributes?string|array<string>

Request Body

application/json
  1. body
schemas*array<string>
userName*string
Length1 <= length <= 512
externalId?string
Length1 <= length <= 1024
displayName?string
Length1 <= length <= 1024
name?
emails?array<>
title?string
Length1 <= length <= 1024
userType?string
Length1 <= length <= 256
preferredLanguage?string
Length1 <= length <= 256
locale?string
Length1 <= length <= 256
timezone?string
Length1 <= length <= 256
phoneNumbers?array<>
addresses?array<>
roles?array<>
entitlements?array<>
active?boolean
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User?

Response Body

SCIM User resource, created or reprovisioned from an inactive User with the same externalId

application/scim+json
  1. response
id*string
externalId?string
Lengthlength <= 1024
meta?
userName?string
Lengthlength <= 512
name?
displayName?string
Lengthlength <= 1024
title?string
Lengthlength <= 1024
userType?string
Lengthlength <= 256
preferredLanguage?string
Lengthlength <= 256
locale?string
Lengthlength <= 256
timezone?string
Lengthlength <= 256
active?boolean
emails?array<>
Itemsitems <= 20
phoneNumbers?array<>
Itemsitems <= 10
addresses?array<>
Itemsitems <= 10
roles?array<>
Itemsitems <= 10
entitlements?array<>
Itemsitems <= 10
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User?
schemas*array<>
Itemsitems <= 2
Example Request
curl -X POST 'https://auth.example.com/api/auth/scim/v2/Users' \  -H 'Content-Type: application/json' \  -d '{  "schemas": [    "string"  ],  "userName": "string"}'
Example Response
{  "id": "string",  "externalId": "string",  "meta": {    "resourceType": "string",    "created": "2019-08-24T14:15:22Z",    "lastModified": "2019-08-24T14:15:22Z",    "location": "string"  },  "userName": "string",  "name": {    "formatted": "string",    "givenName": "string",    "familyName": "string",    "middleName": "string",    "honorificPrefix": "string",    "honorificSuffix": "string"  },  "displayName": "string",  "title": "string",  "userType": "string",  "preferredLanguage": "string",  "locale": "string",  "timezone": "string",  "active": true,  "emails": [    {      "value": "user@example.com",      "type": "string",      "primary": true    }  ],  "phoneNumbers": [    {      "value": "string",      "type": "string",      "primary": true    }  ],  "addresses": [    {      "formatted": "string",      "streetAddress": "string",      "locality": "string",      "region": "string",      "postalCode": "string",      "country": "string",      "type": "string",      "primary": true    }  ],  "roles": [    {      "value": "string",      "display": "string",      "type": "string",      "primary": true    }  ],  "entitlements": [    {      "value": "string",      "display": "string",      "type": "string",      "primary": true    }  ],  "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": {    "employeeNumber": "string",    "costCenter": "string",    "organization": "string",    "division": "string",    "department": "string",    "manager": {      "value": "string",      "$ref": "string"    }  },  "schemas": [    "urn:ietf:params:scim:schemas:core:2.0:User"  ]}

/scim/v2/Users/{userId}

GET
/scim/v2/Users/{userId}

Path Parameters

userId*string

Query Parameters

attributes?string|array<string>
excludedAttributes?string|array<string>

Response Body

SCIM User resource

application/scim+json
  1. response
id*string
externalId?string
Lengthlength <= 1024
meta?
userName?string
Lengthlength <= 512
name?
displayName?string
Lengthlength <= 1024
title?string
Lengthlength <= 1024
userType?string
Lengthlength <= 256
preferredLanguage?string
Lengthlength <= 256
locale?string
Lengthlength <= 256
timezone?string
Lengthlength <= 256
active?boolean
emails?array<>
Itemsitems <= 20
phoneNumbers?array<>
Itemsitems <= 10
addresses?array<>
Itemsitems <= 10
roles?array<>
Itemsitems <= 10
entitlements?array<>
Itemsitems <= 10
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User?
schemas*array<>
Itemsitems <= 2
Example Request
curl -X GET 'https://auth.example.com/api/auth/scim/v2/Users/string'
Example Response
{  "id": "string",  "externalId": "string",  "meta": {    "resourceType": "string",    "created": "2019-08-24T14:15:22Z",    "lastModified": "2019-08-24T14:15:22Z",    "location": "string"  },  "userName": "string",  "name": {    "formatted": "string",    "givenName": "string",    "familyName": "string",    "middleName": "string",    "honorificPrefix": "string",    "honorificSuffix": "string"  },  "displayName": "string",  "title": "string",  "userType": "string",  "preferredLanguage": "string",  "locale": "string",  "timezone": "string",  "active": true,  "emails": [    {      "value": "user@example.com",      "type": "string",      "primary": true    }  ],  "phoneNumbers": [    {      "value": "string",      "type": "string",      "primary": true    }  ],  "addresses": [    {      "formatted": "string",      "streetAddress": "string",      "locality": "string",      "region": "string",      "postalCode": "string",      "country": "string",      "type": "string",      "primary": true    }  ],  "roles": [    {      "value": "string",      "display": "string",      "type": "string",      "primary": true    }  ],  "entitlements": [    {      "value": "string",      "display": "string",      "type": "string",      "primary": true    }  ],  "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": {    "employeeNumber": "string",    "costCenter": "string",    "organization": "string",    "division": "string",    "department": "string",    "manager": {      "value": "string",      "$ref": "string"    }  },  "schemas": [    "urn:ietf:params:scim:schemas:core:2.0:User"  ]}

/scim/v2/Users/{userId}

PATCH
/scim/v2/Users/{userId}

Path Parameters

userId*string

Query Parameters

attributes?string|array<string>
excludedAttributes?string|array<string>

Request Body

application/json
  1. body
schemas*array<>
Operations*array<>

Response Body

Updated SCIM User resource

application/scim+json
  1. response
id*string
externalId?string
Lengthlength <= 1024
meta?
userName?string
Lengthlength <= 512
name?
displayName?string
Lengthlength <= 1024
title?string
Lengthlength <= 1024
userType?string
Lengthlength <= 256
preferredLanguage?string
Lengthlength <= 256
locale?string
Lengthlength <= 256
timezone?string
Lengthlength <= 256
active?boolean
emails?array<>
Itemsitems <= 20
phoneNumbers?array<>
Itemsitems <= 10
addresses?array<>
Itemsitems <= 10
roles?array<>
Itemsitems <= 10
entitlements?array<>
Itemsitems <= 10
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User?
schemas*array<>
Itemsitems <= 2
Example Request
curl -X PATCH 'https://auth.example.com/api/auth/scim/v2/Users/string' \  -H 'Content-Type: application/json' \  -d '{  "schemas": [    "urn:ietf:params:scim:api:messages:2.0:PatchOp"  ],  "Operations": [    {}  ]}'
Example Response
{  "id": "string",  "externalId": "string",  "meta": {    "resourceType": "string",    "created": "2019-08-24T14:15:22Z",    "lastModified": "2019-08-24T14:15:22Z",    "location": "string"  },  "userName": "string",  "name": {    "formatted": "string",    "givenName": "string",    "familyName": "string",    "middleName": "string",    "honorificPrefix": "string",    "honorificSuffix": "string"  },  "displayName": "string",  "title": "string",  "userType": "string",  "preferredLanguage": "string",  "locale": "string",  "timezone": "string",  "active": true,  "emails": [    {      "value": "user@example.com",      "type": "string",      "primary": true    }  ],  "phoneNumbers": [    {      "value": "string",      "type": "string",      "primary": true    }  ],  "addresses": [    {      "formatted": "string",      "streetAddress": "string",      "locality": "string",      "region": "string",      "postalCode": "string",      "country": "string",      "type": "string",      "primary": true    }  ],  "roles": [    {      "value": "string",      "display": "string",      "type": "string",      "primary": true    }  ],  "entitlements": [    {      "value": "string",      "display": "string",      "type": "string",      "primary": true    }  ],  "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": {    "employeeNumber": "string",    "costCenter": "string",    "organization": "string",    "division": "string",    "department": "string",    "manager": {      "value": "string",      "$ref": "string"    }  },  "schemas": [    "urn:ietf:params:scim:schemas:core:2.0:User"  ]}

/scim/v2/Users/{userId}

DELETE
/scim/v2/Users/{userId}

Path Parameters

userId*string

Response Body

SCIM User deleted

Example Request
curl -X DELETE 'https://auth.example.com/api/auth/scim/v2/Users/string'
Example Response
Empty

/scim/v2/Users/{userId}

PUT
/scim/v2/Users/{userId}

Path Parameters

userId*string

Query Parameters

attributes?string|array<string>
excludedAttributes?string|array<string>

Request Body

application/json
  1. body
schemas*array<string>
userName*string
Length1 <= length <= 512
externalId?string
Length1 <= length <= 1024
displayName?string
Length1 <= length <= 1024
name?
emails?array<>
title?string
Length1 <= length <= 1024
userType?string
Length1 <= length <= 256
preferredLanguage?string
Length1 <= length <= 256
locale?string
Length1 <= length <= 256
timezone?string
Length1 <= length <= 256
phoneNumbers?array<>
addresses?array<>
roles?array<>
entitlements?array<>
active?boolean
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User?

Response Body

SCIM User resource

application/scim+json
  1. response
id*string
externalId?string
Lengthlength <= 1024
meta?
userName?string
Lengthlength <= 512
name?
displayName?string
Lengthlength <= 1024
title?string
Lengthlength <= 1024
userType?string
Lengthlength <= 256
preferredLanguage?string
Lengthlength <= 256
locale?string
Lengthlength <= 256
timezone?string
Lengthlength <= 256
active?boolean
emails?array<>
Itemsitems <= 20
phoneNumbers?array<>
Itemsitems <= 10
addresses?array<>
Itemsitems <= 10
roles?array<>
Itemsitems <= 10
entitlements?array<>
Itemsitems <= 10
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User?
schemas*array<>
Itemsitems <= 2
Example Request
curl -X PUT 'https://auth.example.com/api/auth/scim/v2/Users/string' \  -H 'Content-Type: application/json' \  -d '{  "schemas": [    "string"  ],  "userName": "string"}'
Example Response
{  "id": "string",  "externalId": "string",  "meta": {    "resourceType": "string",    "created": "2019-08-24T14:15:22Z",    "lastModified": "2019-08-24T14:15:22Z",    "location": "string"  },  "userName": "string",  "name": {    "formatted": "string",    "givenName": "string",    "familyName": "string",    "middleName": "string",    "honorificPrefix": "string",    "honorificSuffix": "string"  },  "displayName": "string",  "title": "string",  "userType": "string",  "preferredLanguage": "string",  "locale": "string",  "timezone": "string",  "active": true,  "emails": [    {      "value": "user@example.com",      "type": "string",      "primary": true    }  ],  "phoneNumbers": [    {      "value": "string",      "type": "string",      "primary": true    }  ],  "addresses": [    {      "formatted": "string",      "streetAddress": "string",      "locality": "string",      "region": "string",      "postalCode": "string",      "country": "string",      "type": "string",      "primary": true    }  ],  "roles": [    {      "value": "string",      "display": "string",      "type": "string",      "primary": true    }  ],  "entitlements": [    {      "value": "string",      "display": "string",      "type": "string",      "primary": true    }  ],  "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": {    "employeeNumber": "string",    "costCenter": "string",    "organization": "string",    "division": "string",    "department": "string",    "manager": {      "value": "string",      "$ref": "string"    }  },  "schemas": [    "urn:ietf:params:scim:schemas:core:2.0:User"  ]}
GET
/scim/v2/ServiceProviderConfig

Describes the SCIM protocol features supported by this service provider.

Response Body

SCIM service provider configuration

application/scim+json
  1. response
patch*
bulk*
filter*
changePassword*
sort*
etag*
authenticationSchemes*array<>
schemas*array<string>
meta?
Example Request
curl -X GET 'https://auth.example.com/api/auth/scim/v2/ServiceProviderConfig'
Example Response
{  "patch": {    "supported": true  },  "bulk": {    "supported": true,    "maxOperations": 0,    "maxPayloadSize": 0  },  "filter": {    "supported": true,    "maxResults": 0  },  "changePassword": {    "supported": true  },  "sort": {    "supported": true  },  "etag": {    "supported": true  },  "authenticationSchemes": [    {      "name": "string",      "description": "string",      "specUri": "string",      "documentationUri": "string",      "type": "string",      "primary": true    }  ],  "schemas": [    "string"  ],  "meta": {    "resourceType": "string",    "location": "string"  }}

/scim/v2/Schemas

GET
/scim/v2/Schemas

Lists the resource schemas supported by this SCIM service provider.

Response Body

SCIM schema ListResponse

application/scim+json
  1. response
schemas?array<string>
totalResults?number
itemsPerPage?number
startIndex?number
Resources?array<>
Example Request
curl -X GET 'https://auth.example.com/api/auth/scim/v2/Schemas'
Example Response
{  "schemas": [    "string"  ],  "totalResults": 0,  "itemsPerPage": 0,  "startIndex": 0,  "Resources": [    {      "id": "string",      "schemas": [        "string"      ],      "name": "string",      "description": "string",      "attributes": [        {          "name": "string",          "type": "string",          "multiValued": true,          "description": "string",          "required": true,          "caseExact": true,          "mutability": "string",          "returned": "string",          "uniqueness": "string",          "canonicalValues": [            "string"          ],          "referenceTypes": [            "string"          ],          "subAttributes": [            {              "name": "string",              "type": "string",              "multiValued": true,              "description": "string",              "required": true,              "caseExact": true,              "mutability": "string",              "returned": "string",              "uniqueness": "string",              "canonicalValues": [                "string"              ],              "referenceTypes": [                "string"              ]            }          ]        }      ],      "meta": {        "resourceType": "string",        "location": "string"      }    }  ]}
GET
/scim/v2/Schemas/{schemaId}

Returns one resource schema supported by this SCIM service provider.

Path Parameters

schemaId*string

Response Body

SCIM schema

application/scim+json
  1. response
id*string
schemas*array<string>
name?string
description?string
attributes*array<>
meta?
Example Request
curl -X GET 'https://auth.example.com/api/auth/scim/v2/Schemas/string'
Example Response
{  "id": "string",  "schemas": [    "string"  ],  "name": "string",  "description": "string",  "attributes": [    {      "name": "string",      "type": "string",      "multiValued": true,      "description": "string",      "required": true,      "caseExact": true,      "mutability": "string",      "returned": "string",      "uniqueness": "string",      "canonicalValues": [        "string"      ],      "referenceTypes": [        "string"      ],      "subAttributes": [        {          "name": "string",          "type": "string",          "multiValued": true,          "description": "string",          "required": true,          "caseExact": true,          "mutability": "string",          "returned": "string",          "uniqueness": "string",          "canonicalValues": [            "string"          ],          "referenceTypes": [            "string"          ]        }      ]    }  ],  "meta": {    "resourceType": "string",    "location": "string"  }}

/scim/v2/ResourceTypes

GET
/scim/v2/ResourceTypes

Lists the resource types supported by this SCIM service provider.

Response Body

SCIM resource type ListResponse

application/scim+json
  1. response
schemas?array<string>
totalResults?number
itemsPerPage?number
startIndex?number
Resources?array<>
Example Request
curl -X GET 'https://auth.example.com/api/auth/scim/v2/ResourceTypes'
Example Response
{  "schemas": [    "string"  ],  "totalResults": 0,  "itemsPerPage": 0,  "startIndex": 0,  "Resources": [    {      "schemas": [        "string"      ],      "id": "string",      "name": "string",      "endpoint": "string",      "description": "string",      "schema": "string",      "schemaExtensions": [        {          "schema": "string",          "required": true        }      ],      "meta": {        "resourceType": "string",        "location": "string"      }    }  ]}
GET
/scim/v2/ResourceTypes/{resourceTypeId}

Returns one resource type supported by this SCIM service provider.

Path Parameters

resourceTypeId*string

Response Body

SCIM resource type

application/scim+json
  1. response
schemas*array<string>
id?string
name*string
endpoint*string
description?string
schema*string
schemaExtensions?array<>
meta?
Example Request
curl -X GET 'https://auth.example.com/api/auth/scim/v2/ResourceTypes/string'
Example Response
{  "schemas": [    "string"  ],  "id": "string",  "name": "string",  "endpoint": "string",  "description": "string",  "schema": "string",  "schemaExtensions": [    {      "schema": "string",      "required": true    }  ],  "meta": {    "resourceType": "string",    "location": "string"  }}