Skip to main content

Update a user to require multifactor authentication with the REST API

This use case scenario provides the Identity REST API request and payload for updating a Veracode user to require them to set up multifactor authentication the next time they log in to the Veracode Platform.

Send the following request to update an existing account:

http --auth-type=veracode_hmac PUT "https://api.veracode.com/api/authn/v2/users/{userId}?partial=true" < input.json

The API passes the JSON file that you populate with the necessary values as shown in this example payload:

{
"pin_required": true
}