Attach Certificate to Service

This API is used to attach certificate to a website acceleration or file download service. if attach a certificate to a service which already have a certificate, the new certificate will replace for the old one.

1. Request Definition

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

Refer to HTTP Request Headers

  • Request Body

No request body for this API.


2. Response Definition

  • Response Header

Refer to HTTP Response Headers

  • Response Body
Field Type Description
id int Attachment id for a certificate is attached to a service.
certificateId int Certificate ID.
certificateName string Certificate Name.
serviceId int Domain or file download service id.
serviceName string Domain or file download service name.
  • Response Body Example
{
    "id": 101,
    "certificateId": 1101,
    "certificateName": "test ssl domain",
    "serviceId": 201,
    "serviceName": "www.website1.com"
}
           Updated 2021-12-09 03:18:09

results matching ""

    No results matching ""