Skip to main content

Update a team with the REST API

This use case scenario provides the Identity REST API request and payload for changing the name of a team.

Send the following request to change the name of a team:

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

teamId is the numeric ID, separated with hyphens, for the target team. For example: 7336556f-9ef2-4a1c-b536-be8608822db6.

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

{
"team_name": "Physical Penetration Testing"
}