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

Sevalla’s premium CDN, powered by Cloudflare, significantly accelerates the delivery of your application’s assets, ensuring faster and more efficient performance.

With the cdn endpoint, you can send a POST request to toggle the CDN 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

CDN status changed successfully

The response is of type object.