Update an existing script

Update an existing script. The script content will be validated before saving. Note that Basic Authentication is required for all requests.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required

The script ID

Body Params

The script update request

string
required
length between 1 and 256
string | null
string
required
length ≥ 1
boolean
boolean
permissions
array of strings | null
permissions
executionEvents
array of strings | null
executionEvents
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
string
enum
Defaults to application/json-patch+json

Generated from available request content types

Allowed:
Responses

404

Script not found

500

An error occurred when trying to update the script

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