IoT Core Service, REST: Registry.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
Field |
Description |
registryId |
string Required field. ID of the registry to list passwords in. To get a registry ID make a RegistryService.List request. |
Response
HTTP Code: 200 - OK
{
"passwords": [
{
"registryId": "string",
"id": "string",
"createdAt": "string"
}
]
}
Field |
Description |
passwords[] |
List of passwords for the specified registry. |
RegistryPassword
A registry password.
Field |
Description |
registryId |
string ID of the registry that the password belongs to. |
id |
string ID of the password. |
createdAt |
string (date-time) Creation timestamp. String in RFC3339 To work with values in this field, use the APIs described in the |