Aller au contenu principal
Mutation

deleteScheduleUnit

Deletes a schedule unit and archives its boards, so none of them can publish call sheets. The main unit cannot be deleted. Requires edit access to the project. Returns the unit's ID.

Arguments

  • projectIdID!

    ID of the project.

  • unitIdID!

    ID of the unit to delete.

Renvoie

ScheduleMutationResult!

Exemple

mutation DeleteScheduleUnit($projectId: ID!, $unitId: ID!) {
  deleteScheduleUnit(projectId: $projectId, unitId: $unitId) {
    id
  }
}