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
Cloud Administration Password Reset Code API 15Number of Views Customizing the logo and the label of the kiosk for Self-Service Password Reset in RSA Identity Governance and Lifecycle 107Number of Views Error launching the Aveksa Kiosk Password-Reset-form aka Desktop Based Password Reset in RSA Identity Governance and Lifec… 54Number of Views Enable password reset in RSA Identity Governance & Lifecycle 219Number of Views How to reset AveksaAdmin Password by Send Email with the Password Reset Key: ( For IMG 6.8.1, 6.9.x) 62Number of Views
Trending Articles
RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide RSA Authentication Manager 8.9 Release Notes (January 2026) How to install the jTDS JDBC driver on WildFly for use with Data Collections in RSA Identity Governance & Lifecycle RSA Authentication Manager 8.8 Setup and Configuration Guide Artifacts to gather in RSA Identity Governance & Lifecycle