IoT Core Broker Service, REST: Broker.listPasswords
Written by
Updated at August 4, 2023
Retrieves the list of passwords for the specified broker.
HTTP request
GET https://iot-broker.api.cloud.yandex.net/iot-broker/v1/brokers/{brokerId}/passwords
Path parameters
Parameter | Description |
---|---|
brokerId | Required. ID of the broker to list passwords in. To get a broker ID make a list request. The maximum string length in characters is 50. |
Response
HTTP Code: 200 - OK
{
"passwords": [
{
"brokerId": "string",
"id": "string",
"createdAt": "string"
}
]
}
Field | Description |
---|---|
passwords[] | object List of passwords for the specified broker. |
passwords[]. brokerId |
string ID of the broker 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). |