Skip to main content

POST /api/cf/sites/:id/purge

MethodPOST
Path/api/cf/sites/:id/purge
GroupCf
AuthAuthorization: Bearer zsm_<machine-key> (machine API key)
Sourceshared/api-core/src/routes/cf.ts

Call it

curl -X POST https://zeqsdk.com/api/cf/sites/:id/purge \
-H "Authorization: Bearer zsm_<machine-key>" \
-H "Content-Type: application/json" \
-d '{}'

Pass the machine's zsm_ machine API key as a Bearer token (as shown above).

Reference