/script/{name}

Update an existing script or create a new one if it does not exist (in this case, the new script ID is returned in the data field).

Path Params
string
required

Name of the script to update or create, with its extension (.js or .coffee).

Query Params
string
required

Full text contents of the script. This parameter must be in the request body in x-www-form-urlencoded format.

boolean

If true, make sure that we don’t update an existing script (optional). An error will be returned if a script with the same name already exists.

Responses

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json