Purge files with URL and headers

APIs.ioEngineeringPlatform

Properties

Name Type Description
files array For more information on purging files with URL and headers, please refer to [purge by single-file documentation page](https://developers.cloudflare.com/cache/how-to/purge-cache/purge-by-single-file/).
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-cache-purge-singlefilewithurlandheaders-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/cache-purge_SingleFileWithUrlAndHeaders",
  "title": "Purge files with URL and headers",
  "properties": {
    "files": {
      "description": "For more information on purging files with URL and headers, please refer to [purge by single-file documentation page](https://developers.cloudflare.com/cache/how-to/purge-cache/purge-by-single-file/).",
      "example": [
        {
          "headers": {
            "Accept-Language": "zh-CN",
            "CF-Device-Type": "desktop",
            "CF-IPCountry": "US"
          },
          "url": "http://www.example.com/cat_picture.jpg"
        },
        {
          "headers": {
            "Accept-Language": "en-US",
            "CF-Device-Type": "mobile",
            "CF-IPCountry": "EU"
          },
          "url": "http://www.example.com/dog_picture.jpg"
        }
      ],
      "items": {
        "properties": {
          "headers": {
            "example": "<HTTP header object>",
            "type": "object"
          },
          "url": {
            "example": "http://www.example.com/cat_picture.jpg",
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    }
  },
  "type": "object"
}