Method: customers.configurations.patch

  • This endpoint updates a configuration's field values using a PATCH request.

  • The request URL requires the configuration.name as a path parameter in the format customers/*/configurations/*.

  • It utilizes updateMask as a required query parameter to specify which fields of the Configuration should be updated, following FieldMask format.

  • The request body must contain an instance of Configuration, and a successful response will also return an instance of Configuration.

  • Authorization requires the https://www.googleapis.com/auth/androidworkzerotouchemm OAuth scope.

Updates a configuration's field values.

HTTP request

PATCH https://androiddeviceprovisioning.googleapis.com/v1/{configuration.name=customers/*/configurations/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
configuration.name

string

Output only. The API resource name in the format customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID]. Assigned by the server.

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. The field mask applied to the target Configuration before updating the fields. To learn more about using field masks, read FieldMask in the Protocol Buffers documentation.

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 Configuration.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.