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

Verification Code Management API

Download OpenAPI (YAML)Version 1.0.0

Base URL: https://localhost:9443/t/carbon.super/o/api/identity/user/v1.0

The Verification Code Management API (version 1.0.0).

Download the OpenAPI definition (YAML)

Security schemes​

OAuth2: oauth2

Authorization code OAuth flow + Organization Switch

authorizationCode flow, token URL https://localhost:9443/oauth2/token, authorization URL https://localhost:9443/oauth2/authorize

1 scopes
ScopeDescription
internal_org_user_code_mgt_createGrants create access to user code management in the organization

Verification Code​

Validate code​

POST /validate-code

This API is used to validate the code generated during the verification process associated with a user.

Scope(Permission) required: internal_org_user_code_mgt_create

Request body (required): application/json

The validation code retrieved for the verification scenario, and optional property parameters.

Schema: CodeValidationRequest

2 properties
NameTypeRequiredDescription
codestring
propertiesarray of Property

Responses

CodeDescriptionSchema
202

Accepted

400

Bad Request

Error
401

Unauthorized

Error
500

Server Error

Error

Resend code​

POST /resend-code

This API is used to resend the confirmation code if it is missing.

Scope(Permission) required: internal_org_user_code_mgt_create

Request body (required): application/json

User information and optional property parameters to resend the verification code.

Schema: ResendCodeRequest

2 properties
NameTypeRequiredDescription
userUser
propertiesarray of Property

Responses

CodeDescriptionSchema
201

Created

400

Bad Request

Error
401

Unauthorized

Error
500

Server Error

Error

Schemas​

CodeValidationRequest​

Type: object

2 properties
NameTypeRequiredDescription
codestring
propertiesarray of Property

Error​

Type: object

4 properties
NameTypeRequiredDescription
codestring
messagestring
descriptionstring
traceIdstring

Property​

Type: object

2 properties
NameTypeRequiredDescription
keystring
valuestring

ResendCodeRequest​

Type: object

2 properties
NameTypeRequiredDescription
userUser
propertiesarray of Property

User​

Type: object

2 properties
NameTypeRequiredDescription
usernamestring
realmstring

Was this page helpful?