Important: We are no longer accepting new registrations for the Play EMM API. Learn more.

Devices: update

Updates the device policy


HTTP request



Parameter name Value Description
Path parameters
deviceId string The ID of the device.
enterpriseId string The ID of the enterprise.
userId string The ID of the user.
Optional query parameters
updateMask string Mask that identifies which fields to update. If not set, all modifiable fields will be modified.

When set in a query parameter, this field should be specified as updateMask=<field1>,<field2>,...


This request requires authorization with the following scope:


For more information, see the authentication and authorization page.

Request body

In the request body, supply a Devices resource.


If successful, this method returns a Devices resource in the response body.