Bulk Replace Certificate Attachments

This API is used to replace certificate attachments when old certificate will be expired. when the old certificate has attached to many services, it can help migrate service attachments to new certificate easily.

1. Request Definition

  • API URL
https://cdn-api.swiftfederation.com/v1.0/attachments/bulk_replace
  • Request Method
POST
  • Request Header

Refer to HTTP Request Headers

  • Request Body

Request Body Data Format: JSON

Field Required Type Description
serviceIds Mandatory int[] Array of Service id whose attachment will be replaced from old certificate to new certificate.
oldCertificateId Mandatory int Old certificate id.
newCertificateId Mandatory int New certificate id.
  • Request Body Example
{
    "serviceIds": [1,2,3],
    "oldCertificateId": 123,
    "newCertificateId": 321
}


2. Response Definition

  • Response Header

Refer to HTTP Response Headers

  • Response Body
No response body for this API.
           Updated 2021-12-09 03:18:09

results matching ""

    No results matching ""