Changes the properties of an existing type of work.

A change will also effect all related tasks and time entries.

Required Permissions
The user must be an admin or have task-manage-config:write permissions.

Path parameters

idUUIDRequired
Id of the type which will be changed.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
namestringRequired>=1 character
The names of the type of work.
descriptionstring or nullOptional
A short description of the type of work.
iconstring or nullOptional
The icon associated with this task type.

Response

OK
idUUID or null
The id of the task type.
namestring or null or null
The name of the task type.
descriptionstring or null or null

A short (max. 140 characters) description of the task type.

iconstring or null or null
The icon associated with this task type.
isArchivedboolean or null
Whether the type of work has been archived.
createdOndatetime or null
The date this entity was created.
createdByUUID or null
The id of the user who created this entity.
updatedOndatetime or null
The date this entity was last modified.
updatedByUUID or null
The id of the user who last modified this entity.