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

Identity recovery API

Download OpenAPI (YAML)Version 0.9.0

Base URL: https://localhost:9443/t/carbon.super/o/api/identity/recovery/v0.9

The Recovery API (version 0.9.0).

Download the OpenAPI definition (YAML)

Security schemes​

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

Password Recovery​

Send recovery notification​

POST /recover-password

This API is used to send password recovery confirmation over defined channels like email/SMS.

Scope(Permission) required: internal_org_recovery_create

Parameters

NameInTypeRequiredDescription
typequerystring

Notification Type

notifyqueryboolean

If notify=true, notifications will be internally managed.

Request body (required): application/json

Optional property parameters can be sent via email based on the email template.

Schema: RecoveryInitiatingRequest

2 properties
NameTypeRequiredDescription
userUser
propertiesarray of Property

Responses

CodeDescriptionSchema
202

Successful response

string
400

Bad Request

Error
500

Server Error

Error

Update password​

POST /set-password

This API is used to reset the user password using the confirmation key received through the recovery process. You need to input the key and the new password.

Scope(Permission) required: internal_org_recovery_create

Request body (required): application/json

Key, password, and optional metadata properties.

Schema: ResetPasswordRequest

3 properties
NameTypeRequiredDescription
keystring
passwordstring
propertiesarray of Property

Responses

CodeDescriptionSchema
202

Successful response

400

Bad Request

Error
412

Precondition Failed

RetryError
500

Server Error

Error

Validate confirmation code​

POST /validate-code

This API is used to validate confirmation codes sent in account recovery scenarios and self-signup. You need to input the confirmation code and recovery step as parameters.

Scope(Permission) required: internal_org_recovery_create

Request body (required): application/json

Code, recovery step, and optional parameters.
For recovery step, you can use one of the following according to the recovery scenario that you want to validate the code. UPDATE_PASSWORD CONFIRM_SIGN_UP VALIDATE_CHALLENGE_QUESTION VALIDATE_ALL_CHALLENGE_QUESTION

Schema: CodeValidationRequest

3 properties
NameTypeRequiredDescription
codestring
stepstring
propertiesarray of Property

Responses

CodeDescriptionSchema
202

Accepted

400

Bad Request

Error
500

Server Error

Error

Schemas​

User​

Type: object

2 properties
NameTypeRequiredDescription
usernamestring
realmstring

ResetPasswordRequest​

Type: object

3 properties
NameTypeRequiredDescription
keystring
passwordstring
propertiesarray of Property

Error​

Type: object

3 properties
NameTypeRequiredDescription
codestring
messagestring
descriptionstring

RetryError​

Type: object

4 properties
NameTypeRequiredDescription
codestring
messagestring
descriptionstring
keystring

Property​

Type: object

2 properties
NameTypeRequiredDescription
keystring
valuestring

RecoveryInitiatingRequest​

Type: object

2 properties
NameTypeRequiredDescription
userUser
propertiesarray of Property

CodeValidationRequest​

Type: object

3 properties
NameTypeRequiredDescription
codestring
stepstring
propertiesarray of Property

Was this page helpful?