IoT Core Broker Service, REST: Broker.ListPasswords
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
Field |
Description |
brokerId |
string Required field. ID of the broker to list passwords in. To get a broker ID make a BrokerService.List request. |
Response
HTTP Code: 200 - OK
{
"passwords": [
{
"brokerId": "string",
"id": "string",
"createdAt": "string"
}
]
}
Field |
Description |
passwords[] |
List of passwords for the specified broker. |
BrokerPassword
A broker password.
Field |
Description |
brokerId |
string ID of the broker 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 |