AI-generated Key Takeaways
-
This operation creates new members within a specific group, automatically removing devices from other groups if they are added here.
-
The request uses a
POSTHTTP method to the specified endpoint containing path parameters and a request body detailing the members to be created. -
The request body is a JSON object containing an array of
groupMembersto be added, with a limit of 1000 members per request. -
The response body confirms the successfully created group members in a JSON format.
-
This operation requires the
https://www.googleapis.com/auth/android_partner_over_the_airOAuth scope for authorization.
Creates group members in a specific group. If any device is in other groups, it will be removed from those groups and added to the group that's specified in the request.
HTTP request
POST https://androidovertheair.googleapis.com/v1/{name=deployments/*/groups/*}/members:batchCreate
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name |
Relative resource name. For example: "deployments/deployment_x/groups/group_g/members" |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{
"groupMembers": [
{
object ( |
| Fields | |
|---|---|
groupMembers[] |
Required. The list of |
Response body
Response message for OverTheAirService.CreateGroupMembers.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"groupMembers": [
{
object ( |
| Fields | |
|---|---|
groupMembers[] |
The members that were created successfully. This may not match the original input if some members were not able to be created. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/android_partner_over_the_air
For more information, see the OAuth 2.0 Overview.