IoT Core Service, REST: Registry.listPasswords
Written by
Updated at May 26, 2023
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 List of passwords for the specified registry. |
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. The range of possible values is from To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits). |