Method: enterprises.webApps.patch

  • The webpage provides information on how to update a web app using a PATCH HTTP request to the specified Google API endpoint.

  • The request requires specifying the web app name in the URL path parameters.

  • Optional query parameters like updateMask can be used to specify which fields to update.

  • The request and response bodies both contain instances of a WebApp object.

  • The request requires authorization using the https://www.googleapis.com/auth/androidmanagement OAuth scope.

Updates a web app.

HTTP request

PATCH https://androidmanagement.googleapis.com/v1/{name=enterprises/*/webApps/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

The name of the web app in the form enterprises/{enterpriseId}/webApps/{packageName}.

Query parameters

Parameters
updateMask

string (FieldMask format)

The field mask indicating the fields to update. If not set, all modifiable fields will be modified.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of WebApp.

Response body

If successful, the response body contains an instance of WebApp.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/androidmanagement

For more information, see the OAuth 2.0 Overview.