Adding a Team to a Business Unit with the Identity API

Veracode APIs

This use case scenario provides the Identity REST API command and payload for adding a team to a business unit.

Use this command to add a team to a business unit:
http --auth-type=veracode_hmac PUT "https://api.veracode.com/api/authn/v2/business_units/{businessUnitId}?partial=true&incremental=true" < input.json
The API passes the JSON file that you populate with the necessary values as shown in this example payload:
{
  "teams": [
    {
      "team_id": "d56ebdfd-6797-4566-96a1-67455975b6a4"
    }
  ]
}