Removes applications in a policy.
HTTP request
POST https://androidmanagement.googleapis.com/v1/{name=enterprises/*/policies/*}:removePolicyApplications
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The name of the policy containing the ApplicationPolicy objects to be removed, in the form |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "packageNames": [ string ] } |
Fields | |
---|---|
packageNames[] |
Required. Package names to be removed. Entries that are not found are ignored. There must be at least one entry in |
Response body
Response to a request to remove ApplicationPolicy objects in the given policy.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"policy": {
object ( |
Fields | |
---|---|
policy |
The updated policy after ApplicationPolicy objects have been removed. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/androidmanagement
For more information, see the OAuth 2.0 Overview.