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://api.qubole.com/api/v1.2/actions/${ACTIONID}/rerun"

Note

The above syntax uses https://api.qubole.com as the endpoint. Qubole provides other endpoints to access QDS that are described in Supported Qubole Endpoints on Different Cloud Providers.

Response

{"status":"rescheduled"}