Create Zone

This API call adds a new zone to the network. A user can choose to create a zone as either a Site Zone (used by only a single site) or a Network Zone (available to any site in the network). Only name is required. If SiteID is not added, the Zone is added at the Network level.

post/v1/zone

Request

  • Base URL
    https://api.kevel.co
  • URL
    https://api.kevel.co/v1/zone
  • Auth
    API key in header X-Adzerk-ApiKey

Request body

Namestring required

The zone's name

SiteIdinteger

The site's ID

IsDeletedboolean

Don't use when creating a Zone. Defaults to false

Response

200

Idinteger
Namestring
SiteIdinteger
IsDeletedboolean

Example response

{
  "Id": 98765,
  "Name": "Zone Name",
  "SiteId": 12345
}

Changes

No recorded changes to this operation across all 1 revision of this API.