Zone Delete¶
To delete a zone, call the URI http(s)://<qie_server>:<management_api_port>/zone/delete with the following payload:
Base JSON Payload Definition
| Node | Description |
|---|---|
| zoneName | REQUIRED: The name of the zone to delete. The global zone (Global Settings) cannot be deleted. |
| formatOutput | True if the response JSON should be formatted as human readable (default=false). |
The following response is received if the zone was found and successfully deleted:
HTTP Status: 200
| Node | Description |
|---|---|
| message | This message indicates whether the zone was deleted. |
If there is an error finding the zone or deleting the zone, then the following response is received:
HTTP Status: 400
Example curl command:
Use with caution
Deleted zone objects can only be restored from a backup configuration or database backup.
Channels must be stopped and all messages purged before a channel can be deleted.