Updating a Business Unit with the Identity API

Veracode APIs

This use case scenario provides the Identity REST API command for updating a business unit.

Use this command to update a business unit:

Note: You must set partial=true or the command overwrites all existing business units.

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

businessUnitId is the numeric ID, separated with hyphens, for the target business unit. 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:

{
  "bu_name": "My Business Unit"
}