Archives or unarchives the type of work with the specified id.
POST
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
typeOfWorkIdstringRequiredId of the type of work which will be archived.
Request
This endpoint expects an object.
isArchivedbooleanRequired
Flags the entity as archived.
Response
This endpoint returns an object
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.