Skip to main content
Cloud has the newest features. Some may not be in a release yet; the newest release is Identity & Access Management 7.3.0.

Verification Code Management Me API

Download OpenAPI (YAML)Version 1.0.0

Base URL: https://api.asgardeo.io/t/<ORGANIZATION_NAME>/api/identity/user/v1.0

The Verification Code Management Me API (version 1.0.0).

Download the OpenAPI definition (YAML)

Security schemes​

OAuth2: oauth2

authorizationCode flow, token URL https://api.asgardeo.io/t/{organization-name}/oauth2/token, authorization URL https://api.asgardeo.io/t/{organization-name}/oauth2/authorize

1 scopes
ScopeDescription
internal_loginGrant permission for an authenticated user for self management.

me​

Operations for the authenticated user

Validate code​

POST /me/validate-code

This API is used by the authenticated user to validate a verification code.

Scope(Permission) required: internal_login

Request body (required): application/json

The validation code retrieved for the verification scenario and optional properties.

Schema: MeCodeValidationRequest

2 properties
NameTypeRequiredDescription
codestringYes
propertiesarray of Property

Responses

CodeDescriptionSchema
202

Accepted

400

Bad Request

Error
401

Unauthorized

Error
500

Server Error

Error

Resend code​

POST /me/resend-code

This API is used by the authenticated user to resend a verification code.

Scope(Permission) required: internal_login

Request body (required): application/json

Optional property parameters.

Schema: MeResendCodeRequest

1 property
NameTypeRequiredDescription
propertiesarray of PropertyYes

Responses

CodeDescriptionSchema
201

Created

400

Bad Request

Error
401

Unauthorized

Error
500

Server Error

Error

Schemas​

MeCodeValidationRequest​

Type: object

2 properties
NameTypeRequiredDescription
codestringYes
propertiesarray of Property

MeResendCodeRequest​

Type: object

1 property
NameTypeRequiredDescription
propertiesarray of PropertyYes

Property​

Type: object

2 properties
NameTypeRequiredDescription
keystring
valuestring

Error​

Type: object

4 properties
NameTypeRequiredDescription
codestring
messagestring
descriptionstring
traceIdstring

Was this page helpful?