Rerun a Scheduled Action

POST /api/v1.2/actions/(int: id)/rerun

Use this API to rerun a scheduled action. Get the Action ID by listing the actions using any one of the List Schedule Actions or the List All Actions.

Required Role

The following users can make this API call:

  • Users who belong to the system-admin group.
  • Users who belong to a group associated with a role that allows rescheduling. See Managing Groups and Managing Roles for more information.

Response

A JSON hash that encodes if the operation is successful or not.

{"status":"rescheduled"}

Example

Goal: Rerun an action with id ${ACTIONID}

curl -i -X POST -H "X-AUTH-TOKEN: $AUTH_TOKEN" \
-H "Accept: application/json" \
-H "Content-type: application/json" \
"https://gcp.qubole.com/api/v1.2/actions/${ACTIONID}/rerun"

Response

{"status":"rescheduled"}