CDN and DNS (v2.1)

Create Purge

Creates a new Purge object in the specified workspace with the provided configuration.

post/delivery/v2.1/global/workspaces/{workspaceUUID}/purges

Path parameters

workspaceUUIDstring required

UUID of the workspace

Request body

apiVersion'delivery/v2' | 'delivery/v2.1' required

Version identifier of the API schema

kind'Purge' required

The string value 'Purge' that identifies the schema

Example request

{
  "apiVersion": "delivery/v2",
  "kind": "Purge",
  "metadata": {
    "uid": "00000000-0000-0000-0000-000000000000"
  },
  "spec": {
    "hostname": "example.com"
  }
}

Response

The purge was successfully created. The response contains the complete purge details including the assigned unique identifier.

apiVersion'delivery/v2' | 'delivery/v2.1' required

Version identifier of the API schema

kind'Purge' required

The string value 'Purge' that identifies the schema

Example response

{
  "apiVersion": "delivery/v2",
  "kind": "Purge",
  "metadata": {
    "uid": "00000000-0000-0000-0000-000000000000"
  },
  "spec": {
    "hostname": "example.com"
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.