Method: deployments.groups.delete
Stay organized with collections
Save and categorize content based on your preferences.
Deletes a group
. Returns NOT_FOUND
if the group does not exist.
HTTP request
DELETE https://androidovertheair.googleapis.com/v1/{name=deployments/*/groups/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
name |
string
Relative resource name. For example: "deployments/deployment_x/groups/group_g"
|
Request body
The request body must be empty.
Response body
If successful, the response body is empty.
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["\u003cp\u003eThis guide explains how to delete a group using the Android Over-the-air deployments API.\u003c/p\u003e\n"],["\u003cp\u003eTo delete a group, you will need to send an empty \u003ccode\u003eDELETE\u003c/code\u003e request to the specified URL, including the group's resource name as a path parameter.\u003c/p\u003e\n"],["\u003cp\u003eIf the deletion is successful, the API will return an empty response body; if the group is not found, it will return a \u003ccode\u003eNOT_FOUND\u003c/code\u003e error.\u003c/p\u003e\n"],["\u003cp\u003eThis operation requires the \u003ccode\u003ehttps://www.googleapis.com/auth/android_partner_over_the_air\u003c/code\u003e OAuth scope for authorization.\u003c/p\u003e\n"]]],["This document outlines the process for deleting a group via an API. The core action is a `DELETE` HTTP request sent to a specific URL, which includes a group's unique `name` identifier as a path parameter. The request body must be empty. A successful deletion returns an empty response body, while a non-existent group yields a `NOT_FOUND` error. Authorization is required, utilizing the specified OAuth scope. The URL's syntax adheres to gRPC Transcoding standards.\n"],null,["# Method: deployments.groups.delete\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nDeletes a [group](/android/over-the-air/reference/rest/v1/deployments.groups#Group). Returns `NOT_FOUND` if the group does not exist.\n\n### HTTP request\n\n`DELETE https://androidovertheair.googleapis.com/v1/{name=deployments/*/groups/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|-----------------------------------------------------------------------------------------|\n| `name` | `string` Relative resource name. For example: \"deployments/deployment_x/groups/group_g\" |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body is empty.\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/android_partner_over_the_air`\n\nFor more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2)."]]