AI-generated Key Takeaways
-
The API allows you to create a
Siteobject using an HTTP POST request. -
The request requires a
parentpath parameter in the formatnetworks/{networkCode}. -
The request body should contain an instance of the
Siteobject. -
A successful response will return the newly created
Siteobject. -
The API requires the
https://www.googleapis.com/auth/admanagerOAuth scope for authorization.
API to create a Site object.
HTTP request
POST https://admanager.googleapis.com/v1/{parent}/sites
Path parameters
| Parameters | |
|---|---|
parent |
Required. The parent resource where this |
Request body
The request body contains an instance of Site.
Response body
If successful, the response body contains a newly created instance of Site.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/admanager
For more information, see the OAuth 2.0 Overview.