Updates Website owned by logged-in Publisher
##Unverified Websites Note:
URL can be updated if current status of a website is 'unverified'.
Otherwise this field would be ignored and will not affect saved
object.
PUT https://api.convertiser.com/publisher/websites/{uuid}/
Parameter name | Value | Description | Additional |
---|---|---|---|
uuid | string | Required |
The request body takes a complete WebsiteUpdate resource, containing the following writable properties:
{
"_version": "integer",
"categories": [
"string"
],
"description": "string",
"target_audience": "string",
"type": "string"
}
Name | Type | Description | Additional |
---|---|---|---|
_version | integer |
Optimistic Object Lock |
|
categories[] | array of string | ||
description | string | Optional | |
target_audience | string |
Possible values are:
|
|
type | string |
Possible values are:
|
The following HTTP status codes may be returned, optionally with a response resource.
Status code | Description | Resource |
---|---|---|
200 | OK | WebsiteUpdate |