Verification Code Management Me API
Base URL: https://localhost:9443/t/carbon.super/api/identity/user/v1.0
The Verification Code Management 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/oauth2/token, authorization URL https://localhost:9443/oauth2/authorize
1 scopes
| Scope | Description |
|---|---|
internal_login | Grant 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
| Name | Type | Required | Description |
|---|---|---|---|
code | string | Yes | |
properties | array of Property |
Responses
| Code | Description | Schema |
|---|---|---|
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
| Name | Type | Required | Description |
|---|---|---|---|
properties | array of Property | Yes |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Created | |
400 | Bad Request | Error |
401 | Unauthorized | Error |
500 | Server Error | Error |
Schemas
MeCodeValidationRequest
Type: object
2 properties
| Name | Type | Required | Description |
|---|---|---|---|
code | string | Yes | |
properties | array of Property |
Error
Type: object
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
code | string | ||
message | string | ||
description | string | ||
traceId | string |
Was this page helpful?