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(deprecated) int Attachment id for a certificate is attached to a service.
certificateId int Certificate ID.
certificateName(deprecated) string Certificate Name. Deprecated, not for use in new certificate.
serviceId(deprecated) int Domain or file download service id. Deprecated, not for use in new service.
serviceName string Domain or file download service name.
  • Response Body Example
{
    "certificateId": 1101,
    "serviceName": "www.website1.com"
}
           Updated 2024-09-20 02:48:43

results matching ""

    No results matching ""