Create an application profile assigned to a team with the REST API
Send the following request to create an application profile:
http --auth-type=veracode_hmac POST "https://api.veracode.com/appsec/v1/applications" < input.json
Include a payload to define the required parameters and assign the application profile to a team. 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"
   }
}
team_id is equivalent to team_legacy_id in the Identity API.