Skip to main content

Updating a Development Sandbox with the REST API

Use this command 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 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.