Update Zone

Clearing attribute values

To unset or clear an attribute, set its value to NULL.

Zone Attributes

Attribute Type Required Description
ZoneID int32 required The ID of the Zone
Id int32 required ID of the Zone
Name string required Name of the Zone
SiteID int32 ID of the Site
IsDeleted boolean If want to delete, set to true

Response

{
  "Id": 98765,
  "Name": "A Different Name",
  "SiteId": 12345,
  "IsDeleted": false
}

Example cURL Command

curl -X PUT -H "X-Adzerk-ApiKey:$ADZERK_API_KEY" "https://api.kevel.co/v1/zone/12345" --data-urlencode 'zone={ "Id":98765, "Name":"A Different Name", "SiteId":12345}'