Method: enterprises.policies.removePolicyApplications
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Bir politikadaki uygulamaları kaldırır.
HTTP isteği
POST https://androidmanagement.googleapis.com/v1/{name=enterprises/*/policies/*}:removePolicyApplications
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
name |
string
Zorunlu. Kaldırılacak ApplicationPolicy nesnelerini içeren politikanın adı, enterprises/{enterpriseId}/policies/{policyId} biçiminde.
|
İstek içeriği
İstek metni aşağıdaki yapıyla birlikte verileri içerir:
JSON gösterimi |
{
"packageNames": [
string
]
} |
Alanlar |
packageNames[] |
string
Zorunlu. Kaldırılacak paket adları. Bulunmayan girişler yoksayılır. packageNames içinde en az bir giriş olmalıdır.
|
Yanıt gövdesi
Belirli bir politikadaki ApplicationPolicy nesnelerinin kaldırılmasına yönelik isteğe yanıt.
Başarılı olursa yanıt metni aşağıdaki yapıyla birlikte verileri içerir:
JSON gösterimi |
{
"policy": {
object (Policy )
}
} |
Alanlar |
policy |
object (Policy )
ApplicationPolicy nesneleri kaldırıldıktan sonra güncellenen politika.
|
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/androidmanagement
Daha fazla bilgi için OAuth 2.0 Overview sayfasına bakın.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-26 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-26 UTC."],[],[],null,["# Method: enterprises.policies.removePolicyApplications\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n - [JSON representation](#body.RemovePolicyApplicationsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nRemoves applications in a policy.\n\n### HTTP request\n\n`POST https://androidmanagement.googleapis.com/v1/{name=enterprises/*/policies/*}:removePolicyApplications`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. The name of the policy containing the ApplicationPolicy objects to be removed, in the form `enterprises/{enterpriseId}/policies/{policyId}`. |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|----------------------------------------|\n| ``` { \"packageNames\": [ string ] } ``` |\n\n| Fields ||\n|------------------|---------------------------------------------------------------------------------------------------------------------------------------------|\n| `packageNames[]` | `string` Required. Package names to be removed. Entries that are not found are ignored. There must be at least one entry in `packageNames`. |\n\n### Response body\n\nResponse to a request to remove ApplicationPolicy objects in the given policy.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------|\n| ``` { \"policy\": { object (/android/management/reference/rest/v1/enterprises.policies#Policy) } } ``` |\n\n| Fields ||\n|----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `policy` | `object (`[Policy](/android/management/reference/rest/v1/enterprises.policies#Policy)`)` The updated policy after ApplicationPolicy objects have been removed. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/androidmanagement`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]