Creating an Application Assigned to a Team with the Applications API

Veracode APIs

This use case scenario provides the Applications REST API command and payload for creating an application and assigning it to a team.

Use this command to create an application:
http --auth-type=veracode_hmac POST "https://api.veracode.com/appsec/v1/applications"
Include a payload to define the required parameters and assign the application. For example:
{
   "profile":{
      "name":"Applications REST API Demo",
      "tags":"demo,restapi",
      "business_unit":{
         "guid":"08w93dm6-b5gf-4259-a895-39e7d933956k"
      },
      "teams":[
         {
            "guid":"string"
         }
      ],
      "policies":[
         {
            "guid":"1wg6dc84-76kk-5467-a5t2-c5885277jf1p"
         }
      ],
      "business_criticality":"HIGH"
   }
}

The team_id in the Applications API is equivalent to the team_legacy_id in the Identity API.