1curl -X PATCH https://api.cloudflare.com/client/v4/accounts/:account_identifier/workers/scripts/:script_name/settings \2 -H "X-Auth-Key: string" \3 -H "X-Auth-User-Service-Key: string" \4 -H "Authorization: Bearer <token>" \5 -H "Content-Type: application/json" \6 -d '{7 "settings": {}8}'
1{2 "bindings": [3 {4 "type": "kv_namespace",5 "name": "string",6 "namespace_id": "string"7 }8 ],9 "compatibility_date": "string",10 "compatibility_flags": [11 "string"12 ],13 "logpush": true,14 "migrations": {15 "new_tag": "string",16 "old_tag": "string",17 "deleted_classes": [18 "string"19 ],20 "new_classes": [21 "string"22 ],23 "renamed_classes": [24 {25 "from": "string",26 "to": "string"27 }28 ],29 "transferred_classes": [30 {31 "from": "string",32 "from_script": "string",33 "to": "string"34 }35 ]36 },37 "placement": {38 "mode": "smart"39 },40 "tags": [41 "string"42 ],43 "tail_consumers": [44 {45 "service": "string",46 "environment": "string",47 "namespace": "string"48 }49 ],50 "usage_model": "string"51}