Create Purge

This API is used to create URL purge on edge server.

1. Request Definition

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

Refer to HTTP Request Headers

  • Request Body

Request Body Data Format: JSON

Field Required Type Description
urlPath Mandatory string Url path to be purged on edge server.
expireTimestamp Mandatory long UTC timestamp before which contents should be expired.
  • Request Body Example
{
    "urlPath": "/resources/js/test1.js",
    "expireTimestamp": 1405005161
}


2. Response Definition

  • Response Header

Refer to HTTP Response Headers

  • Response Body
No response body for this API.
© 2019 Conversant Solutions Pte Ltd. All rights reserved.            Updated 2019-01-29 08:13:48

results matching ""

    No results matching ""