Edit Filedownload

This API is used to edit file download service.

1. Request Definition

  • API URL
https://cdn-api.swiftfederation.com/v1.1/filedownloads/{serviceId}
  • Request Method
PUT
  • Request Header

Refer to HTTP Request Headers

  • Request Body

Request Body Data Format: JSON

Field Required Type Description
redirectHttpToHttps Optional boolean Whether redirect all plain HTTP requests to HTTPS. true: Enabled, false: Disabled. Default is false.
active Optional boolean To indicate if service is enabled or disabled. true: Enabled, false: Disabled. Default is true.
  • Request Body Example
{
    "active": true
}


2. Response Definition

  • Response Header

Refer to HTTP Response Headers

  • Response Body
No response body for this API.
           Updated 2024-08-26 07:42:13

results matching ""

    No results matching ""