1curl -X PATCH https://api.cloudflare.com/client/v4/accounts/023e105f4ecef8ad9ca31a8372d0c353/workers/dispatch/namespaces/my-dispatch-namespace/scripts/this-is_my_script-01/settings \2 -H "Authorization: Bearer <token>" \3 -H "Content-Type: application/json" \4 -d '{5 "compatibility_date": "2022-04-05",6 "compatibility_flags": [7 "formdata_parser_supports_files"8 ],9 "logpush": false,10 "placement": {11 "mode": "smart"12 },13 "tags": [14 "my-tag"15 ],16 "tail_consumers": [17 {18 "service": "my-log-consumer",19 "environment": "production",20 "namespace": "my-namespace"21 }22 ],23 "usage_model": "unbound"24}'
1{2 "compatibility_date": "2022-04-05",3 "compatibility_flags": [4 "formdata_parser_supports_files"5 ],6 "logpush": false,7 "placement": {8 "mode": "smart"9 },10 "tags": [11 "my-tag"12 ],13 "tail_consumers": [14 {15 "service": "my-log-consumer",16 "environment": "production",17 "namespace": "my-namespace"18 }19 ],20 "usage_model": "unbound"21}