Delete a triggered action
Delete an existing triggered action.
To delete a triggered action, use either the Skedulo API or the Skedulo CLI.
Via the API
To delete a triggered action that you no longer need to keep running, use the DELETE call to the /triggered_actions/{id} endpoint, where {id} is the ID of the triggered action you want to delete.
The following example shows how to delete the triggered action created in Create a triggered action for modified objects.
- Identify the ID of the triggered action. To do this, use the
GETcall to the/triggered_actionsendpoint and locate theidvalue for the triggered action you want to delete. - Send a
DELETErequest to the/triggered_actions/{id}endpoint, where{id}is the ID of the triggered action you want to delete. - Successfully deleted triggered actions show a
200 OKresponse. You can also use theGETcall to the/triggered_actionsendpoint to confirm the triggered action has been deleted.
Via the CLI
A triggered action can be deleted by name, by running the delete command, for example:
sked artifacts triggered-action delete --name "Job status updated"
To find the names of existing triggered actions, run the list command:
sked artifacts triggered-action list
Feedback
Was this page helpful?