Method listPasswords
Retrieves the list of passwords for the specified device.
HTTP request
GET https://iot-devices.api.cloud.yandex.net/iot-devices/v1/devices/{deviceId}/passwords
Path parameters
Parameter | Description |
---|---|
deviceId | 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": [
{
"deviceId": "string",
"id": "string",
"createdAt": "string"
}
]
}
Field | Description |
---|---|
passwords[] | object A device password. |
passwords[]. deviceId |
string ID of the device that the password belongs to. |
passwords[]. id |
string ID of the password. |
passwords[]. createdAt |
string (date-time) Creation timestamp. String in RFC3339 text format. |