bunny_set_edge_script_code
Update an edge script's JavaScript source code and save it as a draft, keeping changes safe until you publish them for live deployment.
Instructions
Upload or replace the JavaScript source code for an edge script. The new code is saved as a draft — use bunny_publish_edge_script to deploy it live.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Edge Script ID | |
| code | Yes | JavaScript source code for the edge script |