Skip to main content
Mutation

renameScheduleUnit

Renames a schedule unit, the main unit included. Requires edit access to the project. Returns the unit's ID.

Arguments

  • nameString!

    New name of the unit (1 to 120 characters).

  • projectIdID!

    ID of the project.

  • unitIdID!

    ID of the unit to rename.

Returns

ScheduleMutationResult!

Example

mutation RenameScheduleUnit($name: String!, $projectId: ID!, $unitId: ID!) {
  renameScheduleUnit(name: $name, projectId: $projectId, unitId: $unitId) {
    id
  }
}