Toggle edge cache - Sevalla API (original) (raw)

Toggle edge caching status

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

Toggle edge caching for improved application performance and lower latency.

POST

/

applications

/

{id}

/

edge-cache

/

toggle-status

Toggle edge caching status

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

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

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

Path Parameters

Example:

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

Response

Edge caching status changed successfully

Toggle CDNClear cache