Delete an SDDC
Programmatically delete an SDDC.
URL
DELETE https://vmc.vmware.com/vmc/api/orgs/:org/sddcs/:sddc
Path Variables
none
Key | Example Value | How do I find This |
---|---|---|
org | XXXXXXXXX-1111-XXXX-1111-XXXXXXXXXXXX | Find My Org ID |
sddc | XXXXXXXXX-1111-XXXX-1111-XXXXXXXXXXXX | Find My SDDC ID |
Key Headers
Key | Example Value | How do I find This |
---|---|---|
csp-auth-token | eyJhbGciOiJSUzI1XXXXXXXXXXXXXXXXXX XXXXXXXXeyJzdWIiOiJ2bXdhcmUuY29 | VMware Cloud API Authentication |
Example JSON Payload
none
Example Response Body
Note the task ID, status.
{ "user_id": "XXXXXXXXX-1111-XXXX-1111-XXXXXXXXXXXX", "user_name": "user@domain.com", "created": "2022-08-02T13:54:22.000657Z", "version": 1, "id": "XXXXXXXXX-1111-XXXX-1111-XXXXXXXXXXXX", "updated_by_user_id": "XXXXXXXXX-1111-XXXX-1111-XXXXXXXXXXXX", "updated_by_user_name": "user@domain.com", "updated": "2022-08-02T13:54:22.000657Z", "status": "STARTED", "resource_id": "XXXXXXXXX-1111-XXXX-1111-XXXXXXXXXXXX", "resource_type": "sddc", "start_resource_entity_version": null, "end_resource_entity_version": null, "parent_task_id": null, "sub_status": "STARTED", "task_type": "SDDC-DELETE", "error_message": null, "customer_error_message": null, "localized_error_message": null, "start_time": "2022-08-02T13:54:22.656000Z", "end_time": null, "retries": 0, "task_version": "20191024", "progress_percent": 0, "estimated_remaining_minutes": -1, "task_progress_phases": null, "service_errors": [], "params": { "SDDC_DELETE_CONTEXT_PARAM": { "sddc_id": "YYYYYYYYY-1111-XXXX-1111-XXXXXXXXXXXX", "retain_configuration": false, "template_name": null, "sddc_state": "READY" } }, "org_type": "CUSTOMER", "correlation_id": null, "phase_in_progress": "", "org_id": "XXXXXXXXX-1111-XXXX-1111-XXXXXXXXXXXX" }