Update the advertising settings for a site
post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organizationIdstringRequiredPattern:
A unique entity identifier
^[a-zA-Z0-9_-]+$siteIdstringRequired
The unique id of the site
Body
statusstring · enumOptionalPossible values:
topicstring · enumOptionalPossible values:
Topic of the content
Responses
204
OK
No content
post/orgs/{organizationId}/sites/{siteId}/ads
POST /v1/orgs/{organizationId}/sites/{siteId}/ads HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 39
{
"status": "in-review",
"topic": "webdev"
}204
OK
No content
Last updated
Was this helpful?