v1
latestOpenAPI 3.0.32026-07-24311635.6 KBScripts
/v1/scripts/:id
Update a script
post/v1/scripts/{id}
Path parameters
idstring required
Unique identifier of the Script resource you want to update
Headers
workspacestring
The workspace unique identifier of the workspace where the script has been created. If the script is in the main workspace, no workspace header must be specified.
Request body
Response
200
Example response
{
"id": "ftag4cc5b6ee45d6g7897b06ac2d16af",
"name": "Test alert",
"uri": "https://custom.rebrandly.com/user/abcdecc5b6ee45d6g7897b06ac2d1xyz"
}