Changes the properties of an existing type of work.

PUT

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

idstringRequired

Id of the type which will be changed.

Request

This endpoint expects an object.
namestringRequired>=1 character

The names of the type of work.

descriptionstringOptional

A short description of the type of work.

iconstringOptional

The icon associated with this task type.

Response

OK

idstringOptional

The id of the task type.

namestringOptional

The name of the task type.

descriptionstringOptional

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

iconstringOptional

The icon associated with this task type.

isArchivedbooleanOptional

Whether the type of work has been archived.

createdOndatetimeOptional

The date this entity was created.

createdBystringOptional

The id of the user who created this entity.

updatedOndatetimeOptional

The date this entity was last modified.

updatedBystringOptional

The id of the user who last modified this entity.