Skip to content

Cancel a deployment of configuration changes to a raw object. To use this endpoint, your raw object configuration_state must be IN_DEPLOYMENT.

POST/api/{version}/metadata/vobjects/{object_name}/actions/canceldeployment
NameDescription
Acceptapplication/json (default) or application/xml
NameDescription
{object_name}The name of the object on which to cancel deployment. This object’s configuration_state must be IN_DEPLOYMENT.
curl -X GET -H "Authorization: {SESSION_ID}" \ https://myvault.veevavault.com/api/v24.2/metadata/vobjects/product__c/actions/canceldeployment
{ "responseStatus": "SUCCESS" }

If the deployment is cancelled successfully, the API returns SUCCESS.