Queries certificate details by certificate ID.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
CertId | string | Yes | The ID of the certificate. | 12345 |
CertRegion | string | No | The region of the certificate. Valid values:
Default value: cn-hangzhou | cn-hangzhou |
Response parameters
Examples
Sample success responses
JSON
format
{
"CertName": "yourCertName\n",
"Key": "587f6db37e3a2f01047b032b739cbe31\n",
"Cert": "-----BEGINCERTIFICATE-----xxx-----END CERTIFICATE-----\n",
"CertId": 12345,
"RequestId": "C370DAF1-C838-4288-A1A0-9A87633D248E\n"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | InvalidCertId.NotFound | The certId does not exist. | The certificate ID does not exist. |
400 | Abs.CertRegion.ValueNotSupported | CertRegion is not supported. | The certificate region is not supported. |
For a list of error codes, visit the Service error codes.