Deleting tasks
This section provides information on how to delete tasks.
When a task has not started yet, it can be cancelled and will be removed at a later stage.
A running task cannot be removed.
API reference:
Required scopes:
Taskurai.Task.Delete
Prerequisites
- You have completed the Setup sample application tutorial.
Deleting a task
To delete a previously created task, use its ID.
- C#
await taskurai.DeleteTaskAsync(taskId);
Next, run the console application to validate:
dotnet run