Cloud Administration Void Password Reset Code API
Use the Cloud Administration Void Password Reset Code API to void reset codes for a set of users. This API returns a list of users for whom the voiding process succeeded or failed.
For information about managing access to this API, see Accessing the Cloud Administration APIs.
Authentication
Clients calling this API must authenticate themselves by including a JSON Web Token in a request. For instructions on using this token, see Authentication for the Cloud Administration APIs.
Software Developer Kit
You can download the API Software Developer Kit (SDK) from Cloud Administration REST API Download.
Request Requirements
Use the following information to void a password reset code for a user.
| Action | Method | Request URL | Response Content Type | Response Body | Response Codes |
|---|---|---|---|---|---|
| Void Verify Code for password reset | POST | AdminInterface/restapi/v1/users/voidVerifyCode | application/json | json | 1002, 1015, 1016 |
Example Request Data
The following example displays a request.
POST /AdminInterface/restapi/v1/users/voidVerifyCode
Accept: application/json
Authorization: Bearer <JWT token>
Request Body Parameters
The following table describes the request body parameters.
| Request Parameter | Description | Required? | Data Type |
|---|---|---|---|
| userEmails | A list of user emails. | Yes | List<String> |
| codeGenerationMode | The mode that these codes were generated for. Must be set to "PASSWORD_RESET" for password reset code. | Yes | String |
Example Request Body
The following is an example request body.
{
"code_generation_mode": "PASSWORD_RESET",
"user_emails": [
"user1@example.com"
]
}Response Body Parameters
The following table describes the request body parameters:
| Request Parameter | Description | Data Type |
|---|---|---|
| results | A list of results. Each result is an object made up of:
| List<Result> - each result is made up of:
|
Example Response Body
The following example response shows the results when voiding password reset codes for a list of users.
{
"results": [{
"status": 1015,
"errorMessage": "No password reset code found to void. Password reset code may have expired or has been used already.",
"user_email": "user1@example.com"
}, {
"status": 1016,
"user_email": "user2@example.com"
}
]
}Response Codes
The following table shows response codes and descriptions for this API.
| Code | Description |
|---|---|
| 400 | Bad request. Caused by the following:
Number of users exceeds maximum allowed value of 100.
{ "code": "400 BAD_REQUEST", "description": "Number of user details (178) in request exceeds maximum allowed (100)" } |
| 429 | Too many requests. |
| 1002 | User is not found /valid for the following reasons:
|
| 1015 | Error during password reset code void operation. Either the code has already been used, expired, previously voided, or does not exist, or other internal error. |
| 1016 | Successful void of the password reset code. |
Related Articles
Vocent automated password reset system does not function correctly 6Number of Views Vocent automated password reset system does not answer call 9Number of Views Cloud Administration Password Reset Code API 18Number of Views How to reset AveksaAdmin Password by Send Email with the Password Reset Key: ( For IMG 6.8.1, 6.9.x) 69Number of Views Enable Users to Reset Passwords After User and Token Export 53Number of Views
Trending Articles
RSA SecurID software token .sdtid file fails to import into RSA SecurID Software Token 5.0 for Windows RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide How to manipulate imported RSA SecurID Software Token(s) on an iPhone or iPad device RSA Announces the Release of RSA MFA Agent 2.5 for Microsoft Windows How to Download OTP Token Seed Files from myRSA