Get Root cert
Description
Get a specified Root cert.This function is only available to administrators.
Request
GET /v1/root-certs/:certId
Response
Successful response contains the following JSON formated body:
{
CertId: string,
rootCert: string,
tags: {
[key: string]: string
},
created: string
}
Response Status codes:
-
200 on success
-
403 if not administrator
Request headers
This request must have the following headers:
Authorization: bearer <ApiKey>
Example
Request
curl "https://api.cloud.nabto.com/v1/root-certs/:certId" \
-H "Authorization: Bearer <ApiKey>"
Response
{
CertId: "<CertId>",
rootCert: "<rootCert>",
tags: {
"foo": "bar"
},
created: "2022-10-18T10:17:24.299Z"
}