Skip to main content

Updating a User with the Identity API

This use case scenario provides the Identity REST API command and payload for updating a Veracode user. The command applies to both user accounts and API service accounts.

Use this command to update an existing account:

http --auth-type=veracode_hmac PUT "{userId}?partial=true" < input.json

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

"ip_restricted": true,
"allowed_ip_addresses": [""]