Method: enterprises.policies.delete
ポリシーを削除します。このオペレーションは、現在ポリシーを参照しているデバイスがない場合のみ許可されます。
HTTP リクエスト
DELETE https://androidmanagement.googleapis.com/v1/{name=enterprises/*/policies/*}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
name |
string
ポリシーの名前(enterprises/{enterpriseId}/policies/{policyId} の形式)。
|
リクエストの本文
リクエストの本文は空にする必要があります。
レスポンスの本文
成功すると、レスポンスの本文は空の JSON オブジェクトになります。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/androidmanagement
詳細については、OAuth 2.0 Overview をご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-01-29 UTC。
[null,null,["最終更新日 2025-01-29 UTC。"],[[["Deletes a specified policy if it's not currently in use by any devices."],["Requires an HTTP DELETE request to a specific URL with enterprise and policy IDs."],["An empty request body is necessary, and a successful deletion results in an empty response body."],["Authorization necessitates the `https://www.googleapis.com/auth/androidmanagement` OAuth scope."]]],[]]