delete https://{hostname}/config-gtm/v1/domains//datacenters/
Remove a data center: This operation removes a data center. You can only remove a data center when no properties or resources are assigned to it.
Response
Remove a data center: This operation removes a data center. You can only remove a data center when no properties or resources are assigned to it.
xxxxxxxxxxcurl --request DELETE \--url https://hostname/config-gtm/v1/domains/domainName/datacenters/datacenterId \--header 'accept: datacenter-vnd-config-gtm.v1.6+json'
xxxxxxxxxx16{"resource": null,"status": {"changeId": "66c7ff0b-4b9e-41cc-9fd0-34d4f75c2484","links": [{"href": "/config-gtm/v1/domains/example.akadns.net/status/current","rel": "self"}],"message": "Change Pending","passingValidation": true,"propagationStatus": "PENDING","propagationStatusDate": "2014-04-03T21:18:01.000+0000"}}