Update an application profile with the REST API
Send the following request to update an application profile:
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 you update an application profile 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": [
{
"email": "user@example.com",
"name": "string"
}
],
"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"
}
}