GetWebHostingCertificateDetail
Queries the certificate details for a custom domain name.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mpserverless:GetWebHostingCertificateDetail |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SpaceId |
string |
Yes |
Service space ID. |
0e16bb12-14af-4635-b24c-5ac1a9a7bb9f |
| CustomDomain |
string |
Yes |
Custom domain name. |
www.example.com |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
Unique request ID. |
D85CAE0D-5B1F-4A56-B776-DEEA2B232E9F |
| Data |
object |
Returned data. |
|
| CertLife |
string |
Certificate validity period. |
1 years |
| CertType |
string |
Certificate type.
|
upload |
| CertDomainName |
string |
Domain name. |
www.example.com |
| ServerCertificateStatus |
string |
Certificate binding status of the domain name.
|
on |
| CertName |
string |
Certificate name. |
test |
| CertExpiredTime |
integer |
Certificate expiration time. |
1621252800000 |
Examples
Success response
JSON format
{
"RequestId": "D85CAE0D-5B1F-4A56-B776-DEEA2B232E9F",
"Data": {
"CertLife": "1 years",
"CertType": "upload",
"CertDomainName": "www.example.com",
"ServerCertificateStatus": "on",
"CertName": "test",
"CertExpiredTime": 1621252800000
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.