Archives or unarchives the project type with the specified id.
Archives or unarchives the project type with the specified id. Archived objects can not be used any longer but still exist for being referenced by other entities.
Required Permissions
The user must be an admin or haveproject-manage-config:write
permissions.Path parameters
projectTypeId
Id of the type which will be changed.
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 type.
name
The name of the project type.
description
A short (max. 140 characters) description of the project type.
icon
The identifier of the project type icon.
isArchived
Whether this type is archived.
It can no longer be used to create projects, but existing
projects will continue using it.
isPreset
Whether this type is one of the preset types.
Preset types cannot be edited.
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.