List Attached Domains Of Certificate
This API is used to list all services which have been using this SSL certificates.
Request
Request-Line
GET /cdn/v1.0/certificates/{certificateId}/services HTTP/1.1
Request Parameters
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| certificateId | Integer | Mandatory | Certificate ID. |
Response
Response Body
| Parameter | Type | Description |
|---|---|---|
| Array | Array of Services Of Certificate. |
Object: Services Of Certificate
| Parameter | Type | Description |
|---|---|---|
| certificateId | Integer | Certificate ID. Only present after a successful Attach Certificate to Domain operation. |
| domainName | String | Domain service name. |
Status Codes, Error Codes and Error Messages
| Status Code | Error Code | Error Message |
|---|---|---|
| 400 | InvalidService.CertificateId | The CertificateId 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.swiftfederation.com"
},
{
"certificateId": 2978,
"domainName": "lana.swiftfederation.com"
},
{
"certificateId": 2978,
"domainName": "2.swiftfederation.com"
}
]