Skip to main content
PATCH
/
distributions
/
{distributionID}
/
toggle-webp
Toggle WebP
curl --request PATCH \
  --url https://api.tenbyte.com/v1/distributions/{distributionID}/toggle-webp \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "enable_webp": true
}
'
{}

Authorizations

X-API-Key
string
header
required

Path Parameters

distributionID
string
required

Body

application/json

The body is of type object.

Response

200 - application/json

The response is of type object.