🚀 Version 2.0 is now live! See our changelog for details
cURL
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 } '
{}
This API is to toggle WebP Configuration.
API consumer must send enable_webp: true or false
enable_webp
true
false
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The body is of type object.
object
The response is of type object.