Attach Certificate to Domain

This API is used to attach certificate to a website acceleration service with multi-domain. if attach a certificate to a domain which already have a certificate, the new certificate will replace for the old one.

1. Request Definition

  • API URL
https://cdn-api.swiftfederation.com/v3.0/certificates/{certificateId}/services/{serviceId}/{domainName}
  • Request Method
POST
  • Request Header

Refer to HTTP Request Headers

  • Request Example
POST https://cdn-api.swiftfederation.com/v3.0/certificates/1101/services/201/www.website1.com
  • Request Body

No request body for this API.


2. Response Definition

  • Response Header

Refer to HTTP Response Headers

  • Response Body
Field Type Description
certificateId int Certificate ID.
serviceId int WSA service id.
domainName string Domain name.
  • Response Body Example
{
    "certificateId": 1101,
    "serviceId": 201,
    "domainName": "www.website1.com"
}
           Updated 2024-08-26 07:42:13

results matching ""

    No results matching ""