Update Image Optimizer Default Settings

PATCH {{fastly_url}}/service/{{service_id}}/version/{{version_id}}/image_optimizer_default_settings

Update one or more default settings. A minimum of one property is required. The endpoint will respond with the new Image Optimizer default settings, with all properties populated.

Authorization: API token with at least Engineer permissions.

Request Body

{"jpeg_quality"=>70, "allow_video"=>true}

HEADERS

KeyDatatypeRequiredDescription
Hoststring
Content-Typestring
Acceptstring