Create Zone
Note
For more information on Zones, please refer to the Zones here technical documentation.
Schema
Name
- Type: string
- Required: true
- Description: The zone's name
SiteId
- Type: int32
- Description: The site's ID
IsDeleted
- Type: boolean
- Defaults to: false
- Description: Don't use when creating a Zone. Defaults to
false
API Response
{
"Id": 98765,
"Name": "Zone Name",
"SiteId": 12345,
"IsDeleted": false
}
Example Request
curl -X POST -H "X-Adzerk-ApiKey:$ADZERK_API_KEY" -H "Content-Type:application/json" "https://api.kevel.co/v1/zone" --data-binary '{"Name":"Zone Name","SiteId":12345}'