Method: networks.teams.batchCreate

API to batch create Team objects.

HTTP request

POST https://admanager.googleapis.com/v1/{parent}/teams:batchCreate

Path parameters

Parameters
parent

string

Required. The parent resource where Teams will be created. Format: networks/{networkCode} The parent field in the CreateTeamRequest must match this field.

Request body

The request body contains data with the following structure:

JSON representation
{
  "requests": [
    {
      object (CreateTeamRequest)
    }
  ]
}
Fields
requests[]

object (CreateTeamRequest)

Required. The Team objects to create. A maximum of 100 objects can be created in a batch.

Response body

Response object for teams.batchCreate method.

If successful, the response body contains data with the following structure:

JSON representation
{
  "teams": [
    {
      object (Team)
    }
  ]
}
Fields
teams[]

object (Team)

The Team objects created.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/admanager

For more information, see the OAuth 2.0 Overview.

CreateTeamRequest

Request object for teams.create method.

JSON representation
{
  "parent": string,
  "team": {
    object (Team)
  }
}
Fields
parent

string

Required. The parent resource where this Team will be created. Format: networks/{networkCode}

team

object (Team)

Required. The Team to create.