- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- CreateSiteRequest
- Try it!
API to batch create Site
objects.
HTTP request
POST https://admanager.googleapis.com/v1/{parent}/sites:batchCreate
Path parameters
Parameters | |
---|---|
parent |
Required. The parent resource where |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"requests": [
{
object ( |
Fields | |
---|---|
requests[] |
Required. The |
Response body
Response object for sites.batchCreate
method.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"sites": [
{
object ( |
Fields | |
---|---|
sites[] |
The |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/admanager
For more information, see the OAuth 2.0 Overview.
CreateSiteRequest
Request object for sites.create
method.
JSON representation |
---|
{
"parent": string,
"site": {
object ( |
Fields | |
---|---|
parent |
Required. The parent resource where this |
site |
Required. The |