Method listPasswords

Retrieves the list of passwords for the specified registry.

HTTP request

GET https://iot-devices.api.cloud.yandex.net/iot-devices/v1/registries/{registryId}/passwords

Path parameters

Parameter Description
registryId Required. ID of the registry to list passwords in. To get a registry ID make a list request. The maximum string length in characters is 50.

Response

HTTP Code: 200 - OK

{
  "passwords": [
    {
      "registryId": "string",
      "id": "string",
      "createdAt": "string"
    }
  ]
}
Field Description
passwords[] object

A registry password.

passwords[].
registryId
string

ID of the registry that the password belongs to.

passwords[].
id
string

ID of the password.

passwords[].
createdAt
string (date-time)

Creation timestamp.

String in RFC3339 text format.