SCIM 2.0 Me API
The SCIM 2.0 Me API (version 1.0.0).
Download the OpenAPI definition (YAML)
Security schemes
BasicAuth: HTTP basic
OAuth2: oauth2
authorizationCode flow, token URL https://localhost:9443/oauth/token, authorization URL https://localhost:9443/oauth/authorize
3 scopes
| Scope | Description |
|---|---|
read | Grants read access |
write | Grants write access |
admin | Grants read and write access to administrative information |
Me Endpoint
Get Me
GET /Me
This API returns the user details of the currently authenticated
Scope(Permission) required:internal_login
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
attributes | query | string | SCIM defined attributes parameter. | |
excludedAttributes | query | string | SCIM defined excludedAttribute parameter. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Valid user is found | UserResponseObject |
401 | Unauthorized | ErrorUnauthorized |
Update Me
PUT /Me
This API uses a PUT operation to update user details.
Scope(Permission) required:internal_login
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
attributes | query | string | SCIM defined attributes parameter. | |
excludedAttributes | query | string | SCIM defined excludedAttribute parameter. |
Request body (required): application/scim+json
Schema: UserUpdateObject
9 properties
| Name | Type | Required | Description |
|---|---|---|---|
schemas | object | ||
name | object | ||
name.givenName | string | ||
name.familyName | string | ||
userName | string | ||
emails | array of object | ||
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User | object | ||
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.employeeNumber | string | ||
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.manager | object |
Responses
| Code | Description | Schema |
|---|---|---|
200 | User is updated | UserResponseObject |
400 | Invalid Input | ErrorInvalidInput |
401 | Unauthorized | ErrorUnauthorized |
409 | User attribute value already exists | ErrorUserConflict |
Create Me
POST /Me
This API is used to register a user anonymously.
Scope(Permission) required:internal_user_mgt_create
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
attributes | query | string | SCIM defined attributes parameter. | |
excludedAttributes | query | string | SCIM defined excludedAttribute parameter. |
Request body (required): application/scim+json
User details to add.
Schema: UserObject
10 properties
| Name | Type | Required | Description |
|---|---|---|---|
schemas | object | ||
name | object | ||
name.givenName | string | ||
name.familyName | string | ||
userName | string | ||
password | string | Yes | |
emails | array of object | ||
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User | object | ||
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.employeeNumber | string | ||
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.manager | object |
Responses
| Code | Description | Schema |
|---|---|---|
201 | User is created. | UserResponseObject |
400 | Invalid Input | ErrorInvalidInput |
401 | Unauthorized | ErrorUnauthorized |
409 | User attribute value already exists | ErrorUserConflict |
500 | Internal Server Error | ErrorInternalServerError |
Delete Me
DEL /Me
This API is used to delete the currently authenticated user.
Scope(Permission) required:internal_user_mgt_delete
Responses
| Code | Description | Schema |
|---|---|---|
204 | User is deleted | |
401 | Unauthorized | ErrorUnauthorized |
501 | Self delete is not supported | ErrorNotimplemented |
Update Me - PATCH
PATCH /Me
This API uses a PATCH operation to update user details.
Scope(Permission) required:internal_login
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
attributes | query | string | SCIM defined attributes parameter. | |
excludedAttributes | query | string | SCIM defined excludedAttribute parameter. |
Request body: application/scim+json
Schema: PatchOpperationInput
2 properties
| Name | Type | Required | Description |
|---|---|---|---|
schemas | array of object | ||
Operations | array of OperationMeItem |
Responses
| Code | Description | Schema |
|---|---|---|
200 | User is updated | PatchOperationResponseOutput |
400 | Invalid Input | ErrorInvalidInput |
401 | Unauthorized | ErrorUnauthorized |
409 | User attribute value already exists | ErrorUserConflict |
Schemas
UserObject
Type: object
10 properties
| Name | Type | Required | Description |
|---|---|---|---|
schemas | object | ||
name | object | ||
name.givenName | string | ||
name.familyName | string | ||
userName | string | ||
password | string | Yes | |
emails | array of object | ||
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User | object | ||
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.employeeNumber | string | ||
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.manager | object |
UserResponseObject
Type: object
16 properties
| Name | Type | Required | Description |
|---|---|---|---|
meta | object | Yes | |
meta.created | string | ||
meta.location | string | ||
meta.lastModified | string | ||
meta.resourceType | string | ||
schemas | object | ||
username | string | ||
id | string | ||
name | object | ||
name.givenName | string | ||
name.familyName | string | ||
emails | array of object | ||
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User | object | ||
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.employeeNumber | string | ||
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.manager | object | ||
roles | object |
UserUpdateObject
Type: object
9 properties
| Name | Type | Required | Description |
|---|---|---|---|
schemas | object | ||
name | object | ||
name.givenName | string | ||
name.familyName | string | ||
userName | string | ||
emails | array of object | ||
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User | object | ||
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.employeeNumber | string | ||
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.manager | object |
PatchOpperationInput
Type: object
2 properties
| Name | Type | Required | Description |
|---|---|---|---|
schemas | array of object | ||
Operations | array of OperationMeItem |
OperationMeItem
Type: object
3 properties
| Name | Type | Required | Description |
|---|---|---|---|
op | string | Allowed values: | |
value | object | ||
value.nickName | string |
PatchOperationResponseOutput
Type: object
17 properties
| Name | Type | Required | Description |
|---|---|---|---|
meta | object | Yes | |
meta.created | string | ||
meta.location | string | ||
meta.lastModified | string | ||
meta.resourceType | string | ||
schemas | array of string | ||
username | string | ||
id | string | ||
name | object | ||
name.givenName | string | ||
name.familyName | string | ||
emails | array of object | ||
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User | object | ||
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.employeeNumber | string | ||
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.manager | object | ||
roles | array of object | ||
nickName | string |
ErrorInvalidInput
Type: object
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
status | string | Yes | |
schemas | string | ||
scimType | string | ||
detail | string | Yes |
ErrorUnauthorized
Type: object
3 properties
| Name | Type | Required | Description |
|---|---|---|---|
status | string | Yes | |
schemas | string | ||
scimType | string |
ErrorInternalServerError
Type: object
3 properties
| Name | Type | Required | Description |
|---|---|---|---|
status | string | Yes | |
schemas | string | ||
detail | string | Yes |
ErrorNotimplemented
Type: object
3 properties
| Name | Type | Required | Description |
|---|---|---|---|
status | string | Yes | |
schemas | string | ||
detail | string | Yes |
ErrorUserConflict
Type: object
3 properties
| Name | Type | Required | Description |
|---|---|---|---|
status | string | Yes | |
schemas | array of any | ||
detail | string | Yes |
Was this page helpful?