Promoting a Development Sandbox Scan with the REST API
Use this command to promote the latest scan for the specified sandbox:
http --auth-type=veracode_hmac POST "https://api.veracode.com/appsec/v1/applications/{applicationGuid}/sandboxes/{sandboxGuid}/promote"
You can use the Applications API to get the GUID for an application or development sandbox.
Use this command to promote and delete the latest scan for the specified sandbox:
http --auth-type=veracode_hmac POST "https://api.veracode.com/appsec/v1/applications/{applicationGuid}/sandboxes/{sandboxGuid}/promote?delete_on_promote=true"