Method: networks.teams.batchUpdate

API to batch update Team objects.

HTTP request

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

Path parameters

Parameters
parent

string

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

Request body

The request body contains data with the following structure:

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

object ( UpdateTeamRequest )

Required. The Team objects to update. A maximum of 100 objects can be updated in a batch.

Response body

Response object for teams.batchUpdate method.

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

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

object ( Team )

The Team objects updated.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview .

UpdateTeamRequest

Request object for teams.patch method.

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

object ( Team )

Required. The Team to update.

The Team 's name is used to identify the Team to update.

updateMask

string ( FieldMask format)

Required. The list of fields to update.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo" .

Create a Mobile Website
View Site in Mobile | Classic
Share by: