Skip to main content
You're reading Identity & Access Management 7.0.0. The newest release is 7.3.0, and Cloud has the newest features. Go to the newest release

SCIM 2.0 Me API

Download OpenAPI (YAML)Version 1.0.0

Base URL: https://localhost:9443/t/carbon.super/scim2

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
ScopeDescription
readGrants read access
writeGrants write access
adminGrants 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

NameInTypeRequiredDescription
attributesquerystring

SCIM defined attributes parameter.

excludedAttributesquerystring

SCIM defined excludedAttribute parameter.

Responses

CodeDescriptionSchema
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

NameInTypeRequiredDescription
attributesquerystring

SCIM defined attributes parameter.

excludedAttributesquerystring

SCIM defined excludedAttribute parameter.

Request body (required): application/scim+json

Schema: UserUpdateObject

9 properties
NameTypeRequiredDescription
schemasobject
nameobject
name.givenNamestring
name.familyNamestring
userNamestring
emailsarray of object
urn:ietf:params:scim:schemas:extension:enterprise:2.0:Userobject
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.employeeNumberstring
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.managerobject

Responses

CodeDescriptionSchema
200

User is updated

UserResponseObject
401

Unauthorized

ErrorUnauthorized

Create Me​

POST /Me

This API is used to register a user anonymously.

Scope(Permission) required:internal_user_mgt_create

Parameters

NameInTypeRequiredDescription
attributesquerystring

SCIM defined attributes parameter.

excludedAttributesquerystring

SCIM defined excludedAttribute parameter.

Request body (required): application/scim+json

User details to add.

Schema: UserObject

10 properties
NameTypeRequiredDescription
schemasobject
nameobject
name.givenNamestring
name.familyNamestring
userNamestring
passwordstringYes
emailsarray of object
urn:ietf:params:scim:schemas:extension:enterprise:2.0:Userobject
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.employeeNumberstring
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.managerobject

Responses

CodeDescriptionSchema
201

User is created.

UserResponseObject
400

Invalid Input

ErrorInvalidInput
401

Unauthorized

ErrorUnauthorized
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

CodeDescriptionSchema
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

NameInTypeRequiredDescription
attributesquerystring

SCIM defined attributes parameter.

excludedAttributesquerystring

SCIM defined excludedAttribute parameter.

Request body: application/scim+json

Schema: PatchOpperationInput

2 properties
NameTypeRequiredDescription
schemasarray of object
Operationsarray of OperationMeItem

Responses

CodeDescriptionSchema
200

User is updated

PatchOperationResponseOutput
401

Unauthorized

ErrorUnauthorized

Schemas​

UserObject​

Type: object

10 properties
NameTypeRequiredDescription
schemasobject
nameobject
name.givenNamestring
name.familyNamestring
userNamestring
passwordstringYes
emailsarray of object
urn:ietf:params:scim:schemas:extension:enterprise:2.0:Userobject
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.employeeNumberstring
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.managerobject

UserResponseObject​

Type: object

16 properties
NameTypeRequiredDescription
metaobjectYes
meta.createdstring
meta.locationstring
meta.lastModifiedstring
meta.resourceTypestring
schemasobject
usernamestring
idstring
nameobject
name.givenNamestring
name.familyNamestring
emailsarray of object
urn:ietf:params:scim:schemas:extension:enterprise:2.0:Userobject
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.employeeNumberstring
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.managerobject
rolesobject

UserUpdateObject​

Type: object

9 properties
NameTypeRequiredDescription
schemasobject
nameobject
name.givenNamestring
name.familyNamestring
userNamestring
emailsarray of object
urn:ietf:params:scim:schemas:extension:enterprise:2.0:Userobject
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.employeeNumberstring
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.managerobject

PatchOpperationInput​

Type: object

2 properties
NameTypeRequiredDescription
schemasarray of object
Operationsarray of OperationMeItem

OperationMeItem​

Type: object

3 properties
NameTypeRequiredDescription
opstring

Allowed values: add, remove, replace

valueobject
value.nickNamestring

PatchOperationResponseOutput​

Type: object

17 properties
NameTypeRequiredDescription
metaobjectYes
meta.createdstring
meta.locationstring
meta.lastModifiedstring
meta.resourceTypestring
schemasarray of string
usernamestring
idstring
nameobject
name.givenNamestring
name.familyNamestring
emailsarray of object
urn:ietf:params:scim:schemas:extension:enterprise:2.0:Userobject
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.employeeNumberstring
urn:ietf:params:scim:schemas:extension:enterprise:2.0:User.managerobject
rolesarray of object
nickNamestring

ErrorInvalidInput​

Type: object

4 properties
NameTypeRequiredDescription
statusstringYes
schemasstring
scimTypestring
detailstringYes

ErrorUnauthorized​

Type: object

3 properties
NameTypeRequiredDescription
statusstringYes
schemasstring
scimTypestring

ErrorInternalServerError​

Type: object

3 properties
NameTypeRequiredDescription
statusstringYes
schemasstring
detailstringYes

ErrorNotimplemented​

Type: object

3 properties
NameTypeRequiredDescription
statusstringYes
schemasstring
detailstringYes

Was this page helpful?