DELETE
/
zones
/
{zone_id}
curl --request DELETE \
  --url https://api.bytio.com/v1/zones/{zone_id} \
  --header 'X-API-KEY: <api-key>'
{
  "status": "ok",
  "info": {
    "current": 1,
    "allowed": 100
  },
  "zone_id": "1234ABCD",
  "deleted": true
}

Authorizations

X-API-KEY
string
header
required

Path Parameters

zone_id
string
required

The ID of the zone to delete.

Maximum length: 8

Response

200
application/json
Success
status
enum<string>
Available options:
ok
info
object
zone_id
string

The ID of the zone that was deleted.

deleted
boolean

Set to true indicating that the zone was successfully deleted.