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
GET
call to the/triggered_actions
endpoint and locate theid
value for the triggered action you want to delete. - Send a
DELETE
request 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 OK
response. You can also use theGET
call to the/triggered_actions
endpoint 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?