Delete Service Deployment
Remove the service deployment. Will remove all the Service VMs that were created as part of this deployment. User can send optional force delete option which will force remove the deployment, but should be used only when the regular delete is not working. Regular delete will ensure proper cleanup of Service VMs and related objects. Directly calling this API without trying regular undeploy will result in unexpected results, and orphan objects.
service-id
service-deployment-id
Force delete the resource even if it is being used somewhere
Accepted
Bad Request
{
"details": "string",
"error_code": 0,
"error_data": {},
"error_message": "string",
"module_name": "string",
"related_errors": [
{
"details": "string",
"error_code": 0,
"error_data": {},
"error_message": "string",
"module_name": "string"
}
]
}
Not Found
curl -X DELETE -H 'Authorization: <value>' https://{api_host}/api/v1/serviceinsertion/services/{service-id}/service-deployments/{service-deployment-id}