Archives or unarchives the type of work with the specified id.

Archives or unarchives the type of work with the specified id. An archived type of work still exists for all tasks and time entries currently using it, but can no longer be created with this type of work.

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

Path parameters

typeOfWorkIdUUIDRequired
Id of the type of work which will be archived.

Headers

AuthorizationstringRequired

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

Request

This endpoint expects an object.
isArchivedbooleanRequired
Flags the entity as archived.

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.