Method: partners.devices.metadata

Update the metadata.

HTTP request

POST https://androiddeviceprovisioning.googleapis.com/v1/partners/{metadataOwnerId}/devices/{deviceId}/metadata

The URL uses Google API HTTP annotation syntax.

Path parameters

Parameters
metadataOwnerId

string (int64 format)

The owner of the newly set metadata. Set this to the partner ID.

deviceId

string (int64 format)

ID of the partner.

Request body

The request body contains data with the following structure:

JSON representation
{
  "deviceMetadata": {
    object(DeviceMetadata)
  },
}
Fields
deviceMetadata

object(DeviceMetadata)

The metdata to set.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Auth Guide.

Send feedback about...

Android zero-touch enrollment