Name of the script, used in URLs and route configuration.
account_identifierstringRequired
Identifier
Query parameters
rollback_tostringOptional
Rollback to provided deployment based on deployment ID. Request body will only parse a “message” part. You can learn more about deployments [here](https: //developers.cloudflare.com/workers/platform/deployments/).
Request
This endpoint expects an object.
Response
This endpoint returns an object
result
objectOptional
PUT
1
curl -X PUT "https://api.cloudflare.com/client/v4/accounts/:account_identifier/workers/scripts/:script_name?rollback_to=string" \