List Attached Domains Of Certificate
This API is used to list all domains that have attached a specified SSL certificate.
Request
Request-Line
GET /cdn/v1.0/certificates/{certificateId}/services HTTP/1.1
Request Parameters
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| certificateId | Integer | Mandatory | The unique identifier of the certificate. |
Response
Response Body
| Parameter | Type | Description |
|---|---|---|
| Array | Array of Services Of Certificate object. |
Object: Services Of Certificate
| Parameter | Type | Description |
|---|---|---|
| certificateId | Integer | The unique identifier of the certificate. |
| domainName | String | The domain name that has attached this certificate. |
Status Codes, Error Codes and Error Messages
| Status Code | Error Code | Error Message |
|---|---|---|
| 400 | InvalidService.CertificateId | The certificate ID is empty or invalid. |
Examples
List Attached Domains Of Certificate
Request
GET /cdn/v1.0/certificates/2978/services HTTP/1.1
Successful Response Body
[
{
"certificateId": 2978,
"domainName": "1.FlashCone.com"
},
{
"certificateId": 2978,
"domainName": "lana.FlashCone.com"
},
{
"certificateId": 2978,
"domainName": "2.FlashCone.com"
}
]