Magidoc

updateTimeCategory
Mutation

Renames a time category and optionally changes whether it is billable or time off.

Access: workspace members (external users excluded); admins only when the workspace restricts time category management. Errors: category not found or deleted.

Arguments

#

_id

ID !
Non-null

name

Non-null

billable

timeOff

Mark as a time-off (PTO) category. Cannot be combined with billable: true.

Response

#

Returns TimeCategory .

Example

#