POST
/
applications
/
{id}
/
edge-cache
/
toggle-status
curl --request POST \
  --url https://api.sevalla.com/v2/applications/{id}/edge-cache/toggle-status \
  --header 'Authorization: Bearer <token>'
{
  "isTurnedOn": true
}

Edge caching saves your site/page cache to Cloudflare’s global network of data centers.

With the edge-cache endpoint, you can send a POST request to toggle edge caching on or off.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required
Example:

"54fb80af-576c-4fdc-ba4f-b596c83f15a1"

Response

200
application/json

Edge caching status changed successfully

The response is of type object.