Update Site Edge Cache Status
curl --request PUT \
--url https://api.knst.lol/v2/sites/edge-caching/status \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"environment_id": "54fb80af-576c-4fdc-ba4f-b596c83f15a1",
"enabled": true
}
'{
"operation_id": "edge-cache:update-status-54fb80af-576c-4fdc-ba4f-b596c83f15a1",
"message": "Updating Site Edge Cache Status in progress",
"status": 202
}WordPress Edge Caching
Update Site Edge Cache Status
PUT
/
sites
/
edge-caching
/
status
Update Site Edge Cache Status
curl --request PUT \
--url https://api.knst.lol/v2/sites/edge-caching/status \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"environment_id": "54fb80af-576c-4fdc-ba4f-b596c83f15a1",
"enabled": true
}
'{
"operation_id": "edge-cache:update-status-54fb80af-576c-4fdc-ba4f-b596c83f15a1",
"message": "Updating Site Edge Cache Status in progress",
"status": 202
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
⌘I