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

Method: projects.locations.registries.devices.create

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

Creates a device in a device registry.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



The name of the device registry where this device should be created. For example, projects/example-project/locations/us-central1/registries/my-registry.

Authorization requires the following Google IAM permission on the specified resource parent:

  • cloudiot.devices.create

Request body

The request body contains an instance of Device.

Response body

If successful, the response body contains a newly created instance of Device.

Authorization Scopes

Requires one of the following OAuth scopes:


For more information, see the Authentication Overview.