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 have project-manage-config:write permissions.

Path parameters

projectTypeIdUUIDRequired
Id of the type which will be changed.

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 type.
namestring or null
The name of the project type.
descriptionstring or null

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

iconstring or null
The identifier of the project type icon.
isArchivedboolean or null
Whether this type is archived. It can no longer be used to create projects, but existing projects will continue using it.
isPresetboolean or null
Whether this type is one of the preset types. Preset types cannot be edited.
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.