Adding Users to a Team with the Identity API

Veracode APIs

This use case scenario provides the Identity REST API command and payload for adding one or more users to a team.

Use this command to add users to a team:{teamId}?partial=true&incremental=true < input.json
The API passes the JSON file that you populate with the necessary values as shown in this example:
"team_name": "Red Team Testing",
"users": [
 {"user_name": ""},
 {"user_name": ""}

You can specify user_id or user_name.

Note: You must set incremental=true or the command overwrites the list of users instead of adding them to the specified team.