Skip to main content
PATCH
/
distributions
/
41eb1e4d-b991-46f4-ae7b-86b5f746963b
/
toggle-webp
Toggle WebP
curl --request PATCH \
  --url https://api.tenbyte.io/v1/cdn/distributions/41eb1e4d-b991-46f4-ae7b-86b5f746963b/toggle-webp \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "enable_webp": true
}
'
{}

Authorizations

Authorization
string
header
required

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

Query Parameters

distribution_id
string

Body

application/json

The body is of type object.

Response

200 - application/json

The response is of type object.