Skip to main content

Update a development sandbox with the REST API

Send the following request to update a sandbox:

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

You can use the Applications API to get the GUID for an application profile or development sandbox.

The API passes the JSON file that you populate with the necessary values as shown in this example payload:

{
"custom_fields": [
{
"name": "Custom 1",
"value": "test again"
}
],
"name": "Sandbox 2.5",
"auto_create": true
}

The custom field name must be in the range of Custom 1 to Custom 5.