Are the api docs for updating worker settings wrong?

Specifically looking at this request: https://developers.cloudflare.com/api/operations/worker-script-environment-patch-settings it appears the request body is formatted how the api typically formats response bodies, and attempting to use this api in this format just returns workers.api.error.content_type anybody know what the correct format for this api request is?
Cloudflare API Documentation
Interact with Cloudflare's products and services via the Cloudflare API