ProductionMu Mutation

cancelTask

Topics: Jobs

Cancel a task. Requires task:transition permission, and the caller must be the assignee, the claimer, a member of the assigned team while unclaimed, or a task:write holder.

Returns

TaskPayload!

Arguments

id

TaskID!Required

Task ID to cancel

Exact field SDL
"""
Cancel a task. Requires task:transition permission, and the caller must be the assignee, the claimer, a member of the assigned team while unclaimed, or a task:write holder.
"""
cancelTask(
  """Task ID to cancel"""
  id: TaskID!
): TaskPayload! @topic(names: ["jobs"])

Declared on Mutation. Access is checked by the platform for each operation.