Skip to main content
Mutation

restoreScheduleUnit

Restores a deleted schedule unit. Its boards stay archived until they are restored with unarchiveBoard. Requires edit access to the project. Returns the unit's ID.

Arguments

  • projectIdID!

    ID of the project.

  • unitIdID!

    ID of the unit to restore.

Returns

ScheduleMutationResult!

Example

mutation RestoreScheduleUnit($projectId: ID!, $unitId: ID!) {
  restoreScheduleUnit(projectId: $projectId, unitId: $unitId) {
    id
  }
}