Learn R Programming

sbgr (version 1.0.0)

task_action: Performs action on the task

Description

Performs action on the task.

Usage

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

Run this code
token = '420b4672ebfc43bab48dc0d18a32fb6f'
req = task_action(token,
                project_id = '7f7a72d0-da77-4f51-9416-99f14f7316ab',
                task_id = '5506a44ae4b04a4ab3ae7250',
                action = 'abort')

Run the code above in your browser using DataLab