Google Cloud IoT Core is being retired on August 16, 2023. Contact your Google Cloud account team for more information.

Method: projects.locations.registries.patch

Stay organized with collections Save and categorize content based on your preferences.

Updates a device registry configuration.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



The resource path name. For example, projects/example-project/locations/us-central1/registries/my-registry.

Query parameters


string (FieldMask format)

Only updates the deviceRegistry fields indicated by this mask. The field mask must not be empty, and it must not contain fields that are immutable or only set by the server. Mutable top-level fields: event_notification_config, httpConfig, mqttConfig, and stateNotificationConfig.

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

Request body

The request body contains an instance of DeviceRegistry.

Response body

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

Authorization Scopes

Requires one of the following OAuth scopes:


For more information, see the Authentication Overview.