[{"data":1,"prerenderedAt":1246},["ShallowReactive",2],{"navigation_docs":3,"-client-workers-scripts":437,"-client-workers-scripts-surround":1241},[4,20,398],{"title":5,"path":6,"stem":7,"children":8,"icon":19},"Getting Started","\u002Fgetting-started","1.getting-started\u002F1.index",[9,11,15],{"title":10,"path":6,"stem":7},"Introduction",{"title":12,"path":13,"stem":14},"Usage","\u002Fgetting-started\u002Fusage","1.getting-started\u002F2.usage",{"title":16,"path":17,"stem":18},"Laravel","\u002Fgetting-started\u002Flaravel","1.getting-started\u002F3.laravel","i-lucide-square-play",{"title":21,"icon":22,"path":23,"stem":24,"children":25,"page":397},"Client Reference","i-lucide-terminal","\u002Fclient","2.client",[26,64,74,78,131,144,148,178,188,192,196,200,204,208,212,216,220,224,228,232,236,278,312,344,374,378],{"title":27,"path":28,"stem":29,"children":30},"Accounts","\u002Fclient\u002Faccounts","2.client\u002F00.accounts\u002F00.index",[31,32,36,46,50],{"title":27,"path":28,"stem":29},{"title":33,"path":34,"stem":35},"Members","\u002Fclient\u002Faccounts\u002Fmembers","2.client\u002F00.accounts\u002F01.members",{"title":37,"path":38,"stem":39,"children":40},"Logs","\u002Fclient\u002Faccounts\u002Flogs","2.client\u002F00.accounts\u002F02.logs\u002F00.index",[41,42],{"title":37,"path":38,"stem":39},{"title":43,"path":44,"stem":45},"Audit","\u002Fclient\u002Faccounts\u002Flogs\u002Faudit","2.client\u002F00.accounts\u002F02.logs\u002F01.audit",{"title":47,"path":48,"stem":49},"Subscriptions","\u002Fclient\u002Faccounts\u002Fsubscriptions","2.client\u002F00.accounts\u002F03.subscriptions",{"title":51,"path":52,"stem":53,"children":54},"Tokens","\u002Fclient\u002Faccounts\u002Ftokens","2.client\u002F00.accounts\u002F04.tokens\u002F00.index",[55,56,60],{"title":51,"path":52,"stem":53},{"title":57,"path":58,"stem":59},"Permission Groups","\u002Fclient\u002Faccounts\u002Ftokens\u002Fpermission-groups","2.client\u002F00.accounts\u002F04.tokens\u002F01.permission-groups",{"title":61,"path":62,"stem":63},"Value","\u002Fclient\u002Faccounts\u002Ftokens\u002Fvalue","2.client\u002F00.accounts\u002F04.tokens\u002F02.value",{"title":65,"path":66,"stem":67,"children":68},"Zones","\u002Fclient\u002Fzones","2.client\u002F01.zones\u002F00.index",[69,70],{"title":65,"path":66,"stem":67},{"title":71,"path":72,"stem":73},"Holds","\u002Fclient\u002Fzones\u002Fholds","2.client\u002F01.zones\u002F01.holds",{"title":75,"path":76,"stem":77},"IPs","\u002Fclient\u002Fips","2.client\u002F02.ips",{"title":79,"path":80,"stem":81,"children":82},"Workers","\u002Fclient\u002Fworkers","2.client\u002F03.workers\u002F00.index",[83,84,88,92,96,100,104,108,112,115,119,123,127],{"title":79,"path":80,"stem":81},{"title":85,"path":86,"stem":87},"Settings","\u002Fclient\u002Fworkers\u002Fsettings","2.client\u002F03.workers\u002F01.settings",{"title":89,"path":90,"stem":91},"Cron","\u002Fclient\u002Fworkers\u002Fcron","2.client\u002F03.workers\u002F02.cron",{"title":93,"path":94,"stem":95},"Deployments","\u002Fclient\u002Fworkers\u002Fdeployments","2.client\u002F03.workers\u002F03.deployments",{"title":97,"path":98,"stem":99},"Domains","\u002Fclient\u002Fworkers\u002Fdomains","2.client\u002F03.workers\u002F04.domains",{"title":101,"path":102,"stem":103},"Environment","\u002Fclient\u002Fworkers\u002Fenvironment","2.client\u002F03.workers\u002F05.environment",{"title":105,"path":106,"stem":107},"Scripts","\u002Fclient\u002Fworkers\u002Fscripts","2.client\u002F03.workers\u002F06.scripts",{"title":109,"path":110,"stem":111},"Subdomain","\u002Fclient\u002Fworkers\u002Fsubdomain","2.client\u002F03.workers\u002F07.subdomain",{"title":37,"path":113,"stem":114},"\u002Fclient\u002Fworkers\u002Flogs","2.client\u002F03.workers\u002F08.logs",{"title":116,"path":117,"stem":118},"Versions","\u002Fclient\u002Fworkers\u002Fversions","2.client\u002F03.workers\u002F09.versions",{"title":120,"path":121,"stem":122},"KV","\u002Fclient\u002Fworkers\u002Fkv","2.client\u002F03.workers\u002F10.kv",{"title":124,"path":125,"stem":126},"Durable Objects","\u002Fclient\u002Fworkers\u002Fdurable-objects","2.client\u002F03.workers\u002F11.durable-objects",{"title":128,"path":129,"stem":130},"Routes","\u002Fclient\u002Fworkers\u002Froutes","2.client\u002F03.workers\u002F12.routes",{"title":132,"path":133,"stem":134,"children":135},"Tunnel","\u002Fclient\u002Ftunnel","2.client\u002F04.tunnel\u002F00.index",[136,137,140],{"title":132,"path":133,"stem":134},{"title":128,"path":138,"stem":139},"\u002Fclient\u002Ftunnel\u002Froutes","2.client\u002F04.tunnel\u002F01.routes",{"title":141,"path":142,"stem":143},"Virtual Networks","\u002Fclient\u002Ftunnel\u002Fvirtual-networks","2.client\u002F04.tunnel\u002F02.virtual-networks",{"title":145,"path":146,"stem":147},"D1","\u002Fclient\u002Fd1","2.client\u002F05.d1",{"title":149,"path":150,"stem":151,"children":152},"Load Balancers","\u002Fclient\u002Fload-balancers","2.client\u002F06.load-balancers\u002F00.index",[153,154,158,162,166,170,174],{"title":149,"path":150,"stem":151},{"title":155,"path":156,"stem":157},"Pools","\u002Fclient\u002Fload-balancers\u002Fpools","2.client\u002F06.load-balancers\u002F01.pools",{"title":159,"path":160,"stem":161},"Monitors","\u002Fclient\u002Fload-balancers\u002Fmonitors","2.client\u002F06.load-balancers\u002F02.monitors",{"title":163,"path":164,"stem":165},"Monitor Groups","\u002Fclient\u002Fload-balancers\u002Fmonitor-groups","2.client\u002F06.load-balancers\u002F03.monitor-groups",{"title":167,"path":168,"stem":169},"Regions","\u002Fclient\u002Fload-balancers\u002Fregions","2.client\u002F06.load-balancers\u002F04.regions",{"title":171,"path":172,"stem":173},"Searches","\u002Fclient\u002Fload-balancers\u002Fsearches","2.client\u002F06.load-balancers\u002F05.searches",{"title":175,"path":176,"stem":177},"Previews","\u002Fclient\u002Fload-balancers\u002Fpreviews","2.client\u002F06.load-balancers\u002F06.previews",{"title":179,"path":180,"stem":181,"children":182},"Rulesets","\u002Fclient\u002Frulesets","2.client\u002F07.rulesets\u002F00.index",[183,184],{"title":179,"path":180,"stem":181},{"title":185,"path":186,"stem":187},"Rules","\u002Fclient\u002Frulesets\u002Frules","2.client\u002F07.rulesets\u002F01.rules",{"title":189,"path":190,"stem":191},"DNS","\u002Fclient\u002Fdns","2.client\u002F08.dns",{"title":193,"path":194,"stem":195},"DNSSEC","\u002Fclient\u002Fdnssec","2.client\u002F09.dnssec",{"title":197,"path":198,"stem":199},"Page Rules","\u002Fclient\u002Fpage-rules","2.client\u002F10.page-rules",{"title":201,"path":202,"stem":203},"Lockdown","\u002Fclient\u002Flockdown","2.client\u002F11.lockdown",{"title":205,"path":206,"stem":207},"SSL","\u002Fclient\u002Fssl","2.client\u002F12.ssl",{"title":209,"path":210,"stem":211},"Origin CA Certificates","\u002Fclient\u002Forigin-ca-certificates","2.client\u002F13.origin-ca-certificates",{"title":213,"path":214,"stem":215},"Filters","\u002Fclient\u002Ffilters","2.client\u002F14.filters",{"title":217,"path":218,"stem":219},"Firewall Rules","\u002Fclient\u002Ffirewall-rules","2.client\u002F15.firewall-rules",{"title":221,"path":222,"stem":223},"Access Rules","\u002Fclient\u002Faccess-rules","2.client\u002F16.access-rules",{"title":225,"path":226,"stem":227},"Rate Limits","\u002Fclient\u002Frate-limits","2.client\u002F17.rate-limits",{"title":229,"path":230,"stem":231},"Bot Management","\u002Fclient\u002Fbot-management","2.client\u002F18.bot-management",{"title":233,"path":234,"stem":235},"Cloud Connector","\u002Fclient\u002Fcloud-connector","2.client\u002F19.cloud-connector",{"title":237,"path":238,"stem":239,"children":240},"R2","\u002Fclient\u002Fr2","2.client\u002F20.r2\u002F00.index",[241,242,246,250,254,258,262,266,270,274],{"title":237,"path":238,"stem":239},{"title":243,"path":244,"stem":245},"Buckets","\u002Fclient\u002Fr2\u002Fbuckets","2.client\u002F20.r2\u002F01.buckets",{"title":247,"path":248,"stem":249},"Cors","\u002Fclient\u002Fr2\u002Fcors","2.client\u002F20.r2\u002F02.cors",{"title":251,"path":252,"stem":253},"Lifecycle","\u002Fclient\u002Fr2\u002Flifecycle","2.client\u002F20.r2\u002F03.lifecycle",{"title":255,"path":256,"stem":257},"Lock","\u002Fclient\u002Fr2\u002Flock","2.client\u002F20.r2\u002F04.lock",{"title":259,"path":260,"stem":261},"Custom Domains","\u002Fclient\u002Fr2\u002Fcustom-domains","2.client\u002F20.r2\u002F05.custom-domains",{"title":263,"path":264,"stem":265},"Managed Domain","\u002Fclient\u002Fr2\u002Fmanaged-domain","2.client\u002F20.r2\u002F06.managed-domain",{"title":267,"path":268,"stem":269},"Sippy","\u002Fclient\u002Fr2\u002Fsippy","2.client\u002F20.r2\u002F07.sippy",{"title":271,"path":272,"stem":273},"Event Notifications","\u002Fclient\u002Fr2\u002Fevent-notifications","2.client\u002F20.r2\u002F08.event-notifications",{"title":275,"path":276,"stem":277},"Metrics","\u002Fclient\u002Fr2\u002Fmetrics","2.client\u002F20.r2\u002F09.metrics",{"title":279,"path":280,"stem":281,"children":282},"Iam","\u002Fclient\u002Fiam","2.client\u002F21.iam\u002F00.index",[283,284,287,291,295,299,303],{"title":279,"path":280,"stem":281},{"title":57,"path":285,"stem":286},"\u002Fclient\u002Fiam\u002Fpermission-groups","2.client\u002F21.iam\u002F01.permission-groups",{"title":288,"path":289,"stem":290},"Resource Groups","\u002Fclient\u002Fiam\u002Fresource-groups","2.client\u002F21.iam\u002F02.resource-groups",{"title":292,"path":293,"stem":294},"Sso","\u002Fclient\u002Fiam\u002Fsso","2.client\u002F21.iam\u002F03.sso",{"title":296,"path":297,"stem":298},"Oauth Clients","\u002Fclient\u002Fiam\u002Foauth-clients","2.client\u002F21.iam\u002F04.oauth-clients",{"title":300,"path":301,"stem":302},"Oauth Scopes","\u002Fclient\u002Fiam\u002Foauth-scopes","2.client\u002F21.iam\u002F05.oauth-scopes",{"title":304,"path":305,"stem":306,"children":307},"User Groups","\u002Fclient\u002Fiam\u002Fuser-groups","2.client\u002F21.iam\u002F06.user-groups\u002F00.index",[308,309],{"title":304,"path":305,"stem":306},{"title":33,"path":310,"stem":311},"\u002Fclient\u002Fiam\u002Fuser-groups\u002Fmembers","2.client\u002F21.iam\u002F06.user-groups\u002F01.members",{"title":313,"path":314,"stem":315,"children":316},"User","\u002Fclient\u002Fuser","2.client\u002F22.user\u002F00.index",[317,318,322,326,329,333],{"title":313,"path":314,"stem":315},{"title":319,"path":320,"stem":321},"Audit Logs","\u002Fclient\u002Fuser\u002Faudit-logs","2.client\u002F22.user\u002F01.audit-logs",{"title":323,"path":324,"stem":325},"Invites","\u002Fclient\u002Fuser\u002Finvites","2.client\u002F22.user\u002F02.invites",{"title":47,"path":327,"stem":328},"\u002Fclient\u002Fuser\u002Fsubscriptions","2.client\u002F22.user\u002F03.subscriptions",{"title":330,"path":331,"stem":332},"Tenants","\u002Fclient\u002Fuser\u002Ftenants","2.client\u002F22.user\u002F04.tenants",{"title":51,"path":334,"stem":335,"children":336},"\u002Fclient\u002Fuser\u002Ftokens","2.client\u002F22.user\u002F05.tokens\u002F00.index",[337,338,341],{"title":51,"path":334,"stem":335},{"title":57,"path":339,"stem":340},"\u002Fclient\u002Fuser\u002Ftokens\u002Fpermission-groups","2.client\u002F22.user\u002F05.tokens\u002F01.permission-groups",{"title":61,"path":342,"stem":343},"\u002Fclient\u002Fuser\u002Ftokens\u002Fvalue","2.client\u002F22.user\u002F05.tokens\u002F02.value",{"title":345,"path":346,"stem":347,"children":348},"Organizations","\u002Fclient\u002Forganizations","2.client\u002F23.organizations\u002F00.index",[349,350,354,362,371],{"title":345,"path":346,"stem":347},{"title":351,"path":352,"stem":353},"Profile","\u002Fclient\u002Forganizations\u002Fprofile","2.client\u002F23.organizations\u002F01.profile",{"title":37,"path":355,"stem":356,"children":357},"\u002Fclient\u002Forganizations\u002Flogs","2.client\u002F23.organizations\u002F02.logs\u002F00.index",[358,359],{"title":37,"path":355,"stem":356},{"title":43,"path":360,"stem":361},"\u002Fclient\u002Forganizations\u002Flogs\u002Faudit","2.client\u002F23.organizations\u002F02.logs\u002F01.audit",{"title":363,"path":364,"stem":365,"children":366},"Billing","\u002Fclient\u002Forganizations\u002Fbilling","2.client\u002F23.organizations\u002F03.billing\u002F00.index",[367,368],{"title":363,"path":364,"stem":365},{"title":12,"path":369,"stem":370},"\u002Fclient\u002Forganizations\u002Fbilling\u002Fusage","2.client\u002F23.organizations\u002F03.billing\u002F01.usage",{"title":33,"path":372,"stem":373},"\u002Fclient\u002Forganizations\u002Fmembers","2.client\u002F23.organizations\u002F04.members",{"title":375,"path":376,"stem":377},"Memberships","\u002Fclient\u002Fmemberships","2.client\u002F24.memberships",{"title":330,"path":379,"stem":380,"children":381},"\u002Fclient\u002Ftenants","2.client\u002F25.tenants\u002F00.index",[382,383,387,390,394],{"title":330,"path":379,"stem":380},{"title":384,"path":385,"stem":386},"Account Types","\u002Fclient\u002Ftenants\u002Faccount-types","2.client\u002F25.tenants\u002F01.account-types",{"title":27,"path":388,"stem":389},"\u002Fclient\u002Ftenants\u002Faccounts","2.client\u002F25.tenants\u002F02.accounts",{"title":391,"path":392,"stem":393},"Entitlements","\u002Fclient\u002Ftenants\u002Fentitlements","2.client\u002F25.tenants\u002F03.entitlements",{"title":375,"path":395,"stem":396},"\u002Fclient\u002Ftenants\u002Fmemberships","2.client\u002F25.tenants\u002F04.memberships",false,{"title":399,"icon":400,"path":401,"stem":402,"children":403,"page":397},"Advanced","i-lucide-code-xml","\u002Fadvanced","3.advanced",[404,433],{"title":405,"path":406,"stem":407,"children":408,"page":397},"Configurations","\u002Fadvanced\u002Fconfigurations","3.advanced\u002F1.configurations",[409,421,429],{"title":65,"path":410,"stem":411,"children":412,"page":397},"\u002Fadvanced\u002Fconfigurations\u002Fzones","3.advanced\u002F1.configurations\u002F1.zones",[413,417],{"title":414,"path":415,"stem":416},"Page Rule","\u002Fadvanced\u002Fconfigurations\u002Fzones\u002Fpage-rules","3.advanced\u002F1.configurations\u002F1.zones\u002F1.page-rules",{"title":418,"path":419,"stem":420},"Cache Purge","\u002Fadvanced\u002Fconfigurations\u002Fzones\u002Fcache-purge","3.advanced\u002F1.configurations\u002F1.zones\u002F2.cache-purge",{"title":79,"path":422,"stem":423,"children":424,"page":397},"\u002Fadvanced\u002Fconfigurations\u002Fworkers","3.advanced\u002F1.configurations\u002F2.workers",[425],{"title":426,"path":427,"stem":428},"Deployment","\u002Fadvanced\u002Fconfigurations\u002Fworkers\u002Fdeployment","3.advanced\u002F1.configurations\u002F2.workers\u002F1.deployment",{"title":430,"path":431,"stem":432},"Ruleset","\u002Fadvanced\u002Fconfigurations\u002Fruleset","3.advanced\u002F1.configurations\u002F3.ruleset",{"title":434,"path":435,"stem":436},"Expression Builder","\u002Fadvanced\u002Fexpression-builder","3.advanced\u002F2.expression-builder",{"id":438,"title":105,"body":439,"description":1234,"extension":1235,"links":1236,"meta":1237,"navigation":1238,"path":106,"seo":1239,"stem":107,"__hash__":1240},"docs\u002F2.client\u002F03.workers\u002F06.scripts.md",{"type":440,"value":441,"toc":1219},"minimark",[442,447,451,455,519,525,529,532,535,585,588,592,603,605,652,655,659,662,664,712,715,719,722,724,772,775,779,782,784,832,835,839,842,845,896,899,903,906,908,956,959,963,966,969,1019,1022,1026,1029,1031,1079,1082,1086,1089,1092,1149,1152,1156,1159,1162,1212,1215],[443,444,446],"h2",{"id":445},"list","List",[448,449,450],"p",{},"Fetch a list of uploaded workers.",[452,453],"params-table",{":params":454},"[{\"name\":\"accountId\",\"type\":\"string\",\"required\":true,\"description\":\"Account identifier.\"}]",[456,457,462],"pre",{"className":458,"code":459,"filename":460,"language":460,"meta":461,"style":461},"language-php shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","$response = $client->workers()->scripts()->list('ACCOUNT_ID');\n","php","",[463,464,465],"code",{"__ignoreMap":461},[466,467,470,474,478,481,484,487,490,494,497,500,502,504,507,510,514,516],"span",{"class":468,"line":469},"line",1,[466,471,473],{"class":472},"sMK4o","$",[466,475,477],{"class":476},"sTEyZ","response ",[466,479,480],{"class":472},"=",[466,482,483],{"class":472}," $",[466,485,486],{"class":476},"client",[466,488,489],{"class":472},"->",[466,491,493],{"class":492},"s2Zo4","workers",[466,495,496],{"class":472},"()->",[466,498,499],{"class":492},"scripts",[466,501,496],{"class":472},[466,503,445],{"class":492},[466,505,506],{"class":472},"(",[466,508,509],{"class":472},"'",[466,511,513],{"class":512},"sfazB","ACCOUNT_ID",[466,515,509],{"class":472},[466,517,518],{"class":472},");\n",[520,521,524],"callout",{"icon":522,"to":523},"i-simple-icons-cloudflare","https:\u002F\u002Fdevelopers.cloudflare.com\u002Fapi\u002Foperations\u002Fworker-script-list-workers","View this operation on the Cloudflare API Reference",[443,526,528],{"id":527},"download","Download",[448,530,531],{},"Fetch raw script content for your worker. Note this is the original script content, not JSON encoded.",[452,533],{":params":534},"[{\"name\":\"accountId\",\"type\":\"string\",\"required\":true,\"description\":\"Account identifier.\"},{\"name\":\"scriptName\",\"type\":\"string\",\"required\":true,\"description\":\"Name of the script, used in URLs and route configuration.\"}]",[456,536,538],{"className":458,"code":537,"filename":460,"language":460,"meta":461,"style":461},"$response = $client->workers()->scripts()->download('ACCOUNT_ID', 'SCRIPT_NAME');\n",[463,539,540],{"__ignoreMap":461},[466,541,542,544,546,548,550,552,554,556,558,560,562,564,566,568,570,572,575,578,581,583],{"class":468,"line":469},[466,543,473],{"class":472},[466,545,477],{"class":476},[466,547,480],{"class":472},[466,549,483],{"class":472},[466,551,486],{"class":476},[466,553,489],{"class":472},[466,555,493],{"class":492},[466,557,496],{"class":472},[466,559,499],{"class":492},[466,561,496],{"class":472},[466,563,527],{"class":492},[466,565,506],{"class":472},[466,567,509],{"class":472},[466,569,513],{"class":512},[466,571,509],{"class":472},[466,573,574],{"class":472},",",[466,576,577],{"class":472}," '",[466,579,580],{"class":512},"SCRIPT_NAME",[466,582,509],{"class":472},[466,584,518],{"class":472},[520,586,524],{"icon":522,"to":587},"https:\u002F\u002Fdevelopers.cloudflare.com\u002Fapi\u002Foperations\u002Fworker-script-download-worker",[443,589,591],{"id":590},"upload","Upload",[448,593,594,595,602],{},"Upload a worker module. You can find more about the multipart metadata on ",[596,597,601],"a",{"href":598,"rel":599},"https:\u002F\u002Fdevelopers.cloudflare.com\u002Fworkers\u002Fconfiguration\u002Fmultipart-upload-metadata\u002F",[600],"nofollow","Cloudflare Docs",".",[452,604],{":params":534},[456,606,608],{"className":458,"code":607,"filename":460,"language":460,"meta":461,"style":461},"$response = $client->workers()->scripts()->upload('ACCOUNT_ID', 'SCRIPT_NAME');\n",[463,609,610],{"__ignoreMap":461},[466,611,612,614,616,618,620,622,624,626,628,630,632,634,636,638,640,642,644,646,648,650],{"class":468,"line":469},[466,613,473],{"class":472},[466,615,477],{"class":476},[466,617,480],{"class":472},[466,619,483],{"class":472},[466,621,486],{"class":476},[466,623,489],{"class":472},[466,625,493],{"class":492},[466,627,496],{"class":472},[466,629,499],{"class":492},[466,631,496],{"class":472},[466,633,590],{"class":492},[466,635,506],{"class":472},[466,637,509],{"class":472},[466,639,513],{"class":512},[466,641,509],{"class":472},[466,643,574],{"class":472},[466,645,577],{"class":472},[466,647,580],{"class":512},[466,649,509],{"class":472},[466,651,518],{"class":472},[520,653,524],{"icon":522,"to":654},"https:\u002F\u002Fdevelopers.cloudflare.com\u002Fapi\u002Foperations\u002Fworker-script-upload-worker-module",[443,656,658],{"id":657},"update-content","Update Content",[448,660,661],{},"Put script content without touching config or metadata",[452,663],{":params":534},[456,665,667],{"className":458,"code":666,"filename":460,"language":460,"meta":461,"style":461},"$response = $client->workers()->scripts()->updateContent('ACCOUNT_ID', 'SCRIPT_NAME');\n",[463,668,669],{"__ignoreMap":461},[466,670,671,673,675,677,679,681,683,685,687,689,691,694,696,698,700,702,704,706,708,710],{"class":468,"line":469},[466,672,473],{"class":472},[466,674,477],{"class":476},[466,676,480],{"class":472},[466,678,483],{"class":472},[466,680,486],{"class":476},[466,682,489],{"class":472},[466,684,493],{"class":492},[466,686,496],{"class":472},[466,688,499],{"class":492},[466,690,496],{"class":472},[466,692,693],{"class":492},"updateContent",[466,695,506],{"class":472},[466,697,509],{"class":472},[466,699,513],{"class":512},[466,701,509],{"class":472},[466,703,574],{"class":472},[466,705,577],{"class":472},[466,707,580],{"class":512},[466,709,509],{"class":472},[466,711,518],{"class":472},[520,713,524],{"icon":522,"to":714},"https:\u002F\u002Fdevelopers.cloudflare.com\u002Fapi\u002Foperations\u002Fworker-script-put-content",[443,716,718],{"id":717},"get-content","Get Content",[448,720,721],{},"Fetch script content only.",[452,723],{":params":534},[456,725,727],{"className":458,"code":726,"filename":460,"language":460,"meta":461,"style":461},"$response = $client->workers()->scripts()->getContent('ACCOUNT_ID', 'SCRIPT_NAME');\n",[463,728,729],{"__ignoreMap":461},[466,730,731,733,735,737,739,741,743,745,747,749,751,754,756,758,760,762,764,766,768,770],{"class":468,"line":469},[466,732,473],{"class":472},[466,734,477],{"class":476},[466,736,480],{"class":472},[466,738,483],{"class":472},[466,740,486],{"class":476},[466,742,489],{"class":472},[466,744,493],{"class":492},[466,746,496],{"class":472},[466,748,499],{"class":492},[466,750,496],{"class":472},[466,752,753],{"class":492},"getContent",[466,755,506],{"class":472},[466,757,509],{"class":472},[466,759,513],{"class":512},[466,761,509],{"class":472},[466,763,574],{"class":472},[466,765,577],{"class":472},[466,767,580],{"class":512},[466,769,509],{"class":472},[466,771,518],{"class":472},[520,773,524],{"icon":522,"to":774},"https:\u002F\u002Fdevelopers.cloudflare.com\u002Fapi\u002Foperations\u002Fworker-script-get-content",[443,776,778],{"id":777},"get-script-settings","Get Script Settings",[448,780,781],{},"Get script-level settings when using Worker Versions. Includes Logpush and Tail Consumers.",[452,783],{":params":534},[456,785,787],{"className":458,"code":786,"filename":460,"language":460,"meta":461,"style":461},"$response = $client->workers()->scripts()->getScriptSettings('ACCOUNT_ID', 'SCRIPT_NAME');\n",[463,788,789],{"__ignoreMap":461},[466,790,791,793,795,797,799,801,803,805,807,809,811,814,816,818,820,822,824,826,828,830],{"class":468,"line":469},[466,792,473],{"class":472},[466,794,477],{"class":476},[466,796,480],{"class":472},[466,798,483],{"class":472},[466,800,486],{"class":476},[466,802,489],{"class":472},[466,804,493],{"class":492},[466,806,496],{"class":472},[466,808,499],{"class":492},[466,810,496],{"class":472},[466,812,813],{"class":492},"getScriptSettings",[466,815,506],{"class":472},[466,817,509],{"class":472},[466,819,513],{"class":512},[466,821,509],{"class":472},[466,823,574],{"class":472},[466,825,577],{"class":472},[466,827,580],{"class":512},[466,829,509],{"class":472},[466,831,518],{"class":472},[520,833,524],{"icon":522,"to":834},"https:\u002F\u002Fdevelopers.cloudflare.com\u002Fapi\u002Foperations\u002Fworker-script-settings-get-settings",[443,836,838],{"id":837},"update-script-settings","Update Script Settings",[448,840,841],{},"Patch script-level settings when using Worker Versions. Includes Logpush and Tail Consumers.",[452,843],{":params":844},"[{\"name\":\"accountId\",\"type\":\"string\",\"required\":true,\"description\":\"Account identifier.\"},{\"name\":\"scriptName\",\"type\":\"string\",\"required\":true,\"description\":\"Name of the script, used in URLs and route configuration.\"},{\"name\":\"values\",\"type\":\"array\",\"required\":true,\"description\":\"Script settings values.\"}]",[456,846,848],{"className":458,"code":847,"filename":460,"language":460,"meta":461,"style":461},"$response = $client->workers()->scripts()->updateScriptSettings('ACCOUNT_ID', 'SCRIPT_NAME', []);\n",[463,849,850],{"__ignoreMap":461},[466,851,852,854,856,858,860,862,864,866,868,870,872,875,877,879,881,883,885,887,889,891,893],{"class":468,"line":469},[466,853,473],{"class":472},[466,855,477],{"class":476},[466,857,480],{"class":472},[466,859,483],{"class":472},[466,861,486],{"class":476},[466,863,489],{"class":472},[466,865,493],{"class":492},[466,867,496],{"class":472},[466,869,499],{"class":492},[466,871,496],{"class":472},[466,873,874],{"class":492},"updateScriptSettings",[466,876,506],{"class":472},[466,878,509],{"class":472},[466,880,513],{"class":512},[466,882,509],{"class":472},[466,884,574],{"class":472},[466,886,577],{"class":472},[466,888,580],{"class":512},[466,890,509],{"class":472},[466,892,574],{"class":472},[466,894,895],{"class":472}," []);\n",[520,897,524],{"icon":522,"to":898},"https:\u002F\u002Fdevelopers.cloudflare.com\u002Fapi\u002Foperations\u002Fworker-script-settings-patch-settings",[443,900,902],{"id":901},"get-settings","Get Settings",[448,904,905],{},"Get metadata and config, such as bindings or usage model",[452,907],{":params":534},[456,909,911],{"className":458,"code":910,"filename":460,"language":460,"meta":461,"style":461},"$response = $client->workers()->scripts()->getSettings('ACCOUNT_ID', 'SCRIPT_NAME');\n",[463,912,913],{"__ignoreMap":461},[466,914,915,917,919,921,923,925,927,929,931,933,935,938,940,942,944,946,948,950,952,954],{"class":468,"line":469},[466,916,473],{"class":472},[466,918,477],{"class":476},[466,920,480],{"class":472},[466,922,483],{"class":472},[466,924,486],{"class":476},[466,926,489],{"class":472},[466,928,493],{"class":492},[466,930,496],{"class":472},[466,932,499],{"class":492},[466,934,496],{"class":472},[466,936,937],{"class":492},"getSettings",[466,939,506],{"class":472},[466,941,509],{"class":472},[466,943,513],{"class":512},[466,945,509],{"class":472},[466,947,574],{"class":472},[466,949,577],{"class":472},[466,951,580],{"class":512},[466,953,509],{"class":472},[466,955,518],{"class":472},[520,957,524],{"icon":522,"to":958},"https:\u002F\u002Fdevelopers.cloudflare.com\u002Fapi\u002Foperations\u002Fworker-script-get-settings",[443,960,962],{"id":961},"update-settings","Update Settings",[448,964,965],{},"Patch metadata or config, such as bindings or usage model",[452,967],{":params":968},"[{\"name\":\"accountId\",\"type\":\"string\",\"required\":true,\"description\":\"Account identifier.\"},{\"name\":\"scriptName\",\"type\":\"string\",\"required\":true,\"description\":\"Name of the script, used in URLs and route configuration.\"},{\"name\":\"values\",\"type\":\"array\",\"required\":true,\"description\":\"Settings values.\"}]",[456,970,972],{"className":458,"code":971,"filename":460,"language":460,"meta":461,"style":461},"$response = $client->workers()->scripts()->updateSettings('ACCOUNT_ID', 'SCRIPT_NAME', []);\n",[463,973,974],{"__ignoreMap":461},[466,975,976,978,980,982,984,986,988,990,992,994,996,999,1001,1003,1005,1007,1009,1011,1013,1015,1017],{"class":468,"line":469},[466,977,473],{"class":472},[466,979,477],{"class":476},[466,981,480],{"class":472},[466,983,483],{"class":472},[466,985,486],{"class":476},[466,987,489],{"class":472},[466,989,493],{"class":492},[466,991,496],{"class":472},[466,993,499],{"class":492},[466,995,496],{"class":472},[466,997,998],{"class":492},"updateSettings",[466,1000,506],{"class":472},[466,1002,509],{"class":472},[466,1004,513],{"class":512},[466,1006,509],{"class":472},[466,1008,574],{"class":472},[466,1010,577],{"class":472},[466,1012,580],{"class":512},[466,1014,509],{"class":472},[466,1016,574],{"class":472},[466,1018,895],{"class":472},[520,1020,524],{"icon":522,"to":1021},"https:\u002F\u002Fdevelopers.cloudflare.com\u002Fapi\u002Foperations\u002Fworker-script-patch-settings",[443,1023,1025],{"id":1024},"get-usage-model","Get Usage Model",[448,1027,1028],{},"Fetches the Usage Model for a given Worker.",[452,1030],{":params":534},[456,1032,1034],{"className":458,"code":1033,"filename":460,"language":460,"meta":461,"style":461},"$response = $client->workers()->scripts()->getUsageModel('ACCOUNT_ID', 'SCRIPT_NAME');\n",[463,1035,1036],{"__ignoreMap":461},[466,1037,1038,1040,1042,1044,1046,1048,1050,1052,1054,1056,1058,1061,1063,1065,1067,1069,1071,1073,1075,1077],{"class":468,"line":469},[466,1039,473],{"class":472},[466,1041,477],{"class":476},[466,1043,480],{"class":472},[466,1045,483],{"class":472},[466,1047,486],{"class":476},[466,1049,489],{"class":472},[466,1051,493],{"class":492},[466,1053,496],{"class":472},[466,1055,499],{"class":492},[466,1057,496],{"class":472},[466,1059,1060],{"class":492},"getUsageModel",[466,1062,506],{"class":472},[466,1064,509],{"class":472},[466,1066,513],{"class":512},[466,1068,509],{"class":472},[466,1070,574],{"class":472},[466,1072,577],{"class":472},[466,1074,580],{"class":512},[466,1076,509],{"class":472},[466,1078,518],{"class":472},[520,1080,524],{"icon":522,"to":1081},"https:\u002F\u002Fdevelopers.cloudflare.com\u002Fapi\u002Foperations\u002Fworker-script-fetch-usage-model",[443,1083,1085],{"id":1084},"update-usage-model","Update Usage Model",[448,1087,1088],{},"Updates the Usage Model for a given Worker. Requires a Workers Paid subscription.",[452,1090],{":params":1091},"[{\"name\":\"accountId\",\"type\":\"string\",\"required\":true,\"description\":\"Account identifier.\"},{\"name\":\"scriptName\",\"type\":\"string\",\"required\":true,\"description\":\"Name of the script, used in URLs and route configuration.\"},{\"name\":\"usageModel\",\"type\":\"string\",\"required\":true,\"description\":\"Usage model.\"}]",[456,1093,1095],{"className":458,"code":1094,"filename":460,"language":460,"meta":461,"style":461},"$response = $client->workers()->scripts()->updateUsageModel('ACCOUNT_ID', 'SCRIPT_NAME', 'USAGE_MODEL');\n",[463,1096,1097],{"__ignoreMap":461},[466,1098,1099,1101,1103,1105,1107,1109,1111,1113,1115,1117,1119,1122,1124,1126,1128,1130,1132,1134,1136,1138,1140,1142,1145,1147],{"class":468,"line":469},[466,1100,473],{"class":472},[466,1102,477],{"class":476},[466,1104,480],{"class":472},[466,1106,483],{"class":472},[466,1108,486],{"class":476},[466,1110,489],{"class":472},[466,1112,493],{"class":492},[466,1114,496],{"class":472},[466,1116,499],{"class":492},[466,1118,496],{"class":472},[466,1120,1121],{"class":492},"updateUsageModel",[466,1123,506],{"class":472},[466,1125,509],{"class":472},[466,1127,513],{"class":512},[466,1129,509],{"class":472},[466,1131,574],{"class":472},[466,1133,577],{"class":472},[466,1135,580],{"class":512},[466,1137,509],{"class":472},[466,1139,574],{"class":472},[466,1141,577],{"class":472},[466,1143,1144],{"class":512},"USAGE_MODEL",[466,1146,509],{"class":472},[466,1148,518],{"class":472},[520,1150,524],{"icon":522,"to":1151},"https:\u002F\u002Fdevelopers.cloudflare.com\u002Fapi\u002Foperations\u002Fworker-script-update-usage-model",[443,1153,1155],{"id":1154},"delete","Delete",[448,1157,1158],{},"Delete your worker. This call has no response body on a successful delete.",[452,1160],{":params":1161},"[{\"name\":\"accountId\",\"type\":\"string\",\"required\":true,\"description\":\"Account identifier.\"},{\"name\":\"scriptName\",\"type\":\"string\",\"required\":true,\"description\":\"Name of the script, used in URLs and route configuration.\"},{\"name\":\"force\",\"type\":\"bool\",\"required\":false,\"description\":\"If set to true, delete will not be stopped by associated service binding, durable object, or other binding. Any of these associated bindings\u002Fdurable objects will be deleted along with the script.\",\"default\":\"false\"}]",[456,1163,1165],{"className":458,"code":1164,"filename":460,"language":460,"meta":461,"style":461},"$response = $client->workers()->scripts()->delete('ACCOUNT_ID', 'SCRIPT_NAME', true);\n",[463,1166,1167],{"__ignoreMap":461},[466,1168,1169,1171,1173,1175,1177,1179,1181,1183,1185,1187,1189,1191,1193,1195,1197,1199,1201,1203,1205,1207,1209],{"class":468,"line":469},[466,1170,473],{"class":472},[466,1172,477],{"class":476},[466,1174,480],{"class":472},[466,1176,483],{"class":472},[466,1178,486],{"class":476},[466,1180,489],{"class":472},[466,1182,493],{"class":492},[466,1184,496],{"class":472},[466,1186,499],{"class":492},[466,1188,496],{"class":472},[466,1190,1154],{"class":492},[466,1192,506],{"class":472},[466,1194,509],{"class":472},[466,1196,513],{"class":512},[466,1198,509],{"class":472},[466,1200,574],{"class":472},[466,1202,577],{"class":472},[466,1204,580],{"class":512},[466,1206,509],{"class":472},[466,1208,574],{"class":472},[466,1210,1211],{"class":472}," true);\n",[520,1213,524],{"icon":522,"to":1214},"https:\u002F\u002Fdevelopers.cloudflare.com\u002Fapi\u002Foperations\u002Fworker-script-delete-worker",[1216,1217,1218],"style",{},"html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":461,"searchDepth":1220,"depth":1220,"links":1221},2,[1222,1223,1224,1225,1226,1227,1228,1229,1230,1231,1232,1233],{"id":445,"depth":1220,"text":446},{"id":527,"depth":1220,"text":528},{"id":590,"depth":1220,"text":591},{"id":657,"depth":1220,"text":658},{"id":717,"depth":1220,"text":718},{"id":777,"depth":1220,"text":778},{"id":837,"depth":1220,"text":838},{"id":901,"depth":1220,"text":902},{"id":961,"depth":1220,"text":962},{"id":1024,"depth":1220,"text":1025},{"id":1084,"depth":1220,"text":1085},{"id":1154,"depth":1220,"text":1155},"Scripts endpoint reference.","md",null,{},{"title":105},{"title":105,"description":1234},"456jZ5MVZHUWmaqFzAh1z5LASPEZmzujs92HCg7asjY",[1242,1244],{"title":101,"path":102,"stem":103,"description":1243,"children":-1},"Environment endpoint reference.",{"title":109,"path":110,"stem":111,"description":1245,"children":-1},"Subdomain endpoint reference.",1785321158967]