Server Scripts & Files
Create a server script

Pass scriptId as your account script id, a library script id, or the slug string returned with scripts from GET /scripts or GET /account/scripts. Library scripts are pulled into your account automatically when deployed.
Body
application/json
User script to be created
If script should be executed immediately after deployment. Requires makeScriptExecutable is set to true.
Absolute path and filename of deployment. Must start with a forward slash (/). If path doesn't exist it will be created.Existing files will be overwritten. Example: /root/myscript.sh
Response
application/json
Server script deployment initiated
Still need help? Share an idea