Method listCertificates
Retrieves the list of device certificates for the specified device.
HTTP request
GET https://iot-devices.api.cloud.yandex.net/iot-devices/v1/devices/{deviceId}/certificates
Path parameters
Parameter | Description |
---|---|
deviceId | Required. ID of the device to list certificates for. The maximum string length in characters is 50. |
Response
HTTP Code: 200 - OK
{
"certificates": [
{
"deviceId": "string",
"fingerprint": "string",
"certificateData": "string",
"createdAt": "string"
}
]
}
Field | Description |
---|---|
certificates[] | object A device certificate. For more information, see Managing device certificates. |
certificates[]. deviceId |
string ID of the device that the certificate belongs to. |
certificates[]. fingerprint |
string SHA256 hash of the certificate. |
certificates[]. certificateData |
string Public part of the certificate. |
certificates[]. createdAt |
string (date-time) Creation timestamp. String in RFC3339 text format. |