Performs action on the task.

task_action(
  auth_token = NULL,
  project_id = NULL,
  task_id = NULL,
  action = "abort",
  ...
)

Arguments

auth_token

auth token

project_id

ID of a project you want to access.

task_id

ID of a task you want to access.

action

Character string specifying the action. Currently, only supported action is 'abort'.

...

parameters passed to sbgapi function

Value

parsed list of the returned json

Examples

token = '420b4672ebfc43bab48dc0d18a32fb6f' req = task_action(token, project_id = '7f7a72d0-da77-4f51-9416-99f14f7316ab', task_id = '5506a44ae4b04a4ab3ae7250', action = 'abort')
#> Error: HTTP Status 404: /1.1/project/7f7a72d0-da77-4f51-9416-99f14f7316ab/task/5506a44ae4b04a4ab3ae7250 not found