ProductionMu Mutation

deleteWorkCenter

Topics: Jobs

Permanently delete a work center from the caller's tenant. Returns success = false when no work center with that id exists. Prefer setting lifecycle = ARCHIVED to retire a work center that has production history. Requires workCenter:delete permission.

Returns

DeleteWorkCenterPayload!

Arguments

TypeID (prefix "wcr") of the work center to delete.

Exact field SDL
"""
Permanently delete a work center from the caller's tenant. Returns success = false when no work center with that id exists. Prefer setting lifecycle = ARCHIVED to retire a work center that has production history. Requires workCenter:delete permission.
"""
deleteWorkCenter(
  """TypeID (prefix "wcr") of the work center to delete."""
  id: WorkCenterID!
): DeleteWorkCenterPayload! @topic(names: ["jobs"])

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