Update Sites
Clearing attribute values
To unset or clear an attribute, set its value to NULL.
Attributes
SiteID
Type: int32
Required: Yes
Description: ID of the SiteId
Type: string
Required: Yes
Description: The id of the Site. Cannot be changed.Title
Type: string
Required: Yes
Description: Update the friendly name title if neededUrl
Type: string
Required: Yes
Description: Update the URL in formathttps://path of URLif neededIsDeleted
Type: boolean
Description: If want to delete, set totrue
Response Schema
{
"Id": 12345,
"Title": "New Title",
"Url": "http://www.example.com",
"NetworkMargin": null,
"PublisherAccountId": 1234,
"IsDeleted": false
}
Example Request
curl -X PUT -H "X-Adzerk-ApiKey:$ADZERK_API_KEY" -H "Content-Type:application/json" "https://api.kevel.co/v1/site/12345" --data-binary '{"Id":12345,"Url":"http://www.example.com","Title":"New Title"}'
Updated 10 months ago