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 haveworkspace-manage-config:write
permissions.Path parameters
typeOfWorkId
Id of the type of work which will be archived.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
isArchived
Flags the entity as archived.
Response
OK
id
The id of the task type.
name
The name of the task type.
description
A short (max. 140 characters) description of the task type.
icon
The icon associated with this task type.
isArchived
Whether the type of work has been archived.
createdOn
The date this entity was created.
createdBy
The id of the user who created this entity.
updatedOn
The date this entity was last modified.
updatedBy
The id of the user who last modified this entity.