Skip to main content

POST /api/cf/sites/:id/rules

MethodPOST
Path/api/cf/sites/:id/rules
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/rules \
-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