AI-generated Key Takeaways
-
The API allows you to create a
Site
object using an HTTP POST request. -
The request requires a
parent
path parameter in the formatnetworks/{networkCode}
. -
The request body should contain an instance of the
Site
object. -
A successful response will return the newly created
Site
object. -
The API requires the
https://www.googleapis.com/auth/admanager
OAuth 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.