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
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.
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.