Retrieves certificate information.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
hologram:GetCertificateAttribute | get | *Instance
| None | None |
Request syntax
GET /api/v1/instances/{instanceId}/certificateAttribute HTTP/1.1Path Parameters
Parameter | Type | Required | Description | Example |
instanceId | string | No | The ID of the instance. This parameter is required. | hgpostcn-cn-zpr3426vm002 |
Request parameters
Parameter | Type | Required | Description | Example |
No parameters required.
Response elements
Element | Type | Description | Example |
object | The response body. | ||
requestId | string | The ID of the request. | 819A7F0F-2951-540F-BD94-6A41ECF0281F |
| CertificateAttributeDto | object | The certificate attributes. | |
enableSSL | boolean | Specifies whether SSL is enabled. | true |
expirationTime | integer | The UNIX timestamp when the certificate expires. | 1790583135000 |
status | string | The status of the certificate. Valid values:
| effective |
Success | boolean | Indicates whether the call was successful. | true |
ErrorCode | string | The error code. | null |
ErrorMessage | string | The error message. | null |
HttpStatusCode | string | The HTTP status code. | 200 |
Examples
Success response
JSON format
{
"requestId": "819A7F0F-2951-540F-BD94-6A41ECF0281F",
"CertificateAttributeDto": {
"enableSSL": true,
"expirationTime": 1790583135000,
"status": "effective"
},
"Success": true,
"ErrorCode": "null",
"ErrorMessage": "null",
"HttpStatusCode": "200"
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.