Update information for a specific script
PUT {{baseUrl}}/api/scripts/:id
Update information for a specific script with new name, description, folder, script type, script content. Update information for a specific script. You obtain the authorization token needed to execute the request using POST /auth/login; you pass the authorization token in the request header. You identify the script to update by specifying the script ID in the path of the request; you obtain the script id using GET /api/searches/results?name='xxx'&type=19456. You provide the information to update the script in the body parameter of the request.
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
X-MSTR-AuthToken
|
string | (Required) Authorization token | |
X-MSTR-ProjectID
|
string | (Required) Project ID | |
Content-Type
|
string |
RESPONSES
status
ENDPOINTS