Location
/api/apps/{appID}/users/me/email-address/resend-verification
This resource allows to resend the verification code for the email address
to be sent to the user.
Request Headers (Applies to all methods)
Authorization
header
Required: Yes
POST
/api/apps/{appID}/users/me/email-address/resend-verification
Description
Resend the email with the verification code to the uesr.
Content-Type application/json
Name
Required?
type
Description
Authorization
Yes
string
Authorization can be of type Basic or Bearer.
- Authorization Basic: header for granting an anonymous access.
- Set a Base64-encoded string of AppID and AppKey concatenated with a colon (APP_ID:APP_KEY).
- The header should look like:
Authorization: Basic czZCaGRSa3F0Mzo3RmpmcDBaQnIxS3REUmJuZlZkbUl3 - Authorization Bearer: using Oauth2 Bearer Token.
- The header should look like:
Authorization: Bearer ht5fpHQAyrPPwLftK1rAqllv5WNVPCnYfPiCvPocFuQ
Responses
204
Content-Type (None)
The email has been sent to the user.
Note
This response has no contents.
404
Content-Type application/vnd.kii.UserNotFoundException+json
The user was not found.
Contents
Name | Type | Description |
---|---|---|
errorCode | string | Error code "USER_NOT_FOUND". |
message | string | The error message. |
field | string | The field used for searching the user. This can be the userID or address field. |
value | string | The field value used for searching the user. |
appID | string | The ID of the application. |
400
Content-Type application/vnd.kii.InvalidAccountStatusException+json
The email address is already verified.
Contents
Name | Type | Description |
---|---|---|
errorCode | string | Error code "INVALID_ACCOUNT_STATUS". |
message | string | The error message. |
userID | string | The ID of the user. |
appID | string | The ID of the application. |
accountType | AccountType | The type of the account. |