Cloud Administration Void Enrollment Code API
Use the Cloud Administration Void Enrollment Code API to void enrollment codes for a list 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 verification code for a user.
| Action | Method | Request URL | Response Content Type | Response Body | Response Codes |
|---|---|---|---|---|---|
| Void Verify Code for secure enrollment | POST | AdminInterface/restapi/v1/users/voidVerifyCode | application/json | json | 1002, 1013, 1014 |
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 "ENROLLMENT" for secure enrollment code. | Yes | String |
Example Request Body
The following is an example request body:
{
"code_generation_mode": "ENROLLMENT",
"user_emails": [
"user1@example.com",
"user2@example.com",
"user3@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: int String String |
Example Response Body
The following example response shows the results when voiding verification codes for a list of users:
{
"results": [{
"status": 1013,
"errorMessage": "No enrollment code found to void. Enrollment code may have expired or has been used already.",
"user_email": "user1@example.com"
}, {
"status": 1014,
"user_email": "user2@example.com"
}, {
"status": 1002,
"errorMessage": "Invalid User",
"user_email": "user3@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:
|
| 1013 | Error during void operation. Either the code has already been used, expired, previously voided, does not exist, or other internal error. |
| 1014 | Successful void of the enrollment code. |
Related Articles
Enable Enrollment by Selecting Identity Sources 37Number of Views Auto Enrollment Proxy incorrectly allows enrollment 14Number of Views Silent Collection 6Number of Views Cloud Administration Generate Enrollment Code API 102Number of Views Announcing the May Release of SecurID 25Number of Views
Trending Articles
RSA Authentication Manager 8.9 Release Notes (January 2026) RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide 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