Updating an Application with the REST API

Veracode APIs

Use this command to update an application:

http --auth-type=veracode_hmac PUT "https://api.veracode.com/appsec/v1/applications/{guid}" < input.json

Include a payload that defines the updated properties. For example:

Note: When updating applications with this API, all properties are required.

{
  "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"
  }
}