Reset (disable) a user's two-factor authentication
PUT /api/users/{user_id}/2fa_reset
PUT /api/users/{user_id}/2fa_resetInteractive request editor loads with JavaScript.
X-API-KEY<token>
In: header
Path Parameters
user_id*string
The user ID.
Length
1 <= lengthResponse Body
application/json
curl -X PUT "$API_BASE_URL/api/users/86fb9981-d9d2-4555-9df8-91ae92129335/2fa_reset"Operation completed successfully with no response body.
""Invalid arguments. Error details will be provided in the response.
Complete operation details and schema variants
PUT /api/users/{user_id}/2fa_reset
Reset (disable) a user's two-factor authentication
Administratively disable a specified user's two-factor authentication, for example when the user has lost their authenticator device.
Required IAM Permission: Action iam:ResetTwoFactor, Resource arn:api7:iam:user/%s
Parameters
user_id(path, string, required): The user ID.
Responses
200: Operation completed successfully with no response body.400: Invalid arguments. Error details will be provided in the response.
cURL
curl -X PUT '$API_BASE_URL/api/users/{user_id}/2fa_reset'