Updating an Application with the Applications API

Veracode APIs

This use case scenario provides the Applications REST API command and payload for updating an application.

Use this command to update an existing application:
http --auth-type=veracode_hmac PUT "https://api.veracode.com/appsec/v1/applications/<guid>"

Both name and business_criticality are required fields when you are creating or updating applications.

Note: When you are updating existing applications, you must specify values for all parameters.
Include a payload that defines the updated parameters. For example:
{
  "profile": {
    "name": "Applications REST API 9.5",
    "tags": "demo, restapi",
    "business_unit": {
      "guid": "{business_unit_guid}"
    },
    "business_owners": [],
    "archer_app_name": null,
    "policies": [
      {
        "guid": "{policy_guid}",
        "is_default": true
      }
    ],
    "teams": [
      {
        "guid": "{team_guid}"
      }
    ],
    "custom_fields": [
      {
        "name": "my_custom_field",
        "value": "my_custom_value"
      }
    ],
    "description": null,
    "business_criticality": "HIGH"
  }
}