This use case scenario provides the Development Sandbox REST API command and payload for updating a development sandbox.
You can use the Applications API to get the GUID for an application or development sandbox.
Use this command to update a development sandbox:
http --auth-type=veracode_hmac PUT "https://api.veracode.com/appsec/v1/applications/<Veracode application GUID>/sandboxes/<sandbox GUID>" < input.json
For a sandbox, the custom field name must be in the range of Custom 1–Custom 5.
The API passes the JSON file that you populate with the necessary
values as shown in this example:
{ "custom_fields": [ { "name": "Custom 1", "value": "test again" } ], "name": "Sandbox 2.5", "auto_create": true }