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{certificateId}/services/{serviceId}
  • Request Method
  • 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. Deprecated, not for use in new certificate.
serviceId 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
    "id": 101,
    "certificateId": 1101,
    "certificateName": "test ssl domain",
    "serviceId": 201,
    "serviceName": ""
           Updated 2023-11-27 05:49:49

results matching ""

    No results matching ""