-
DELETE /api/marketplace-resources/<resource_uuid>/
- Delete an existing DNS zone.This endpoint permanently deletes the specified DNS zone and all associated DNS records. Warning: This action is irreversible, so exercise caution! You'll need the
resource_uuid
of the DNS zone, which you can obtain from the "List DNS Zone Resources" endpoint (5.2.2).Notes:
- Warning: All DNS records within the zone will be permanently deleted.
- Deleting a DNS zone may disrupt services or applications that rely on it for name resolution.
Request Example:
DELETE [https://api.wayscloud.services/api/marketplace-resources/dns_zone_resource_uuid/](https://api.wayscloud.services/api/marketplace-resources/dns_zone_resource_uuid/)
Authorization: Token <your_api_token>Status Codes:
- 204 No Content: The DNS zone was successfully deleted.
- 401 Unauthorized: The user making the request is not authorized.
-
404 Not Found: The specified DNS zone
resource_uuid
does not exist. - 409 Conflict: The DNS zone cannot be deleted if it is not empty (i.e., still contains DNS records).