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

idUUIDOptional

The id of the type.

namestring or nullOptional

The name of the project type.

descriptionstring or nullOptional

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

iconstring or nullOptional

The identifier of the project type icon.

isArchivedbooleanOptional

Whether this type is archived. It can no longer be used to create projects, but existing projects will continue using it.

isPresetbooleanOptional

Whether this type is one of the preset types. Preset types cannot be edited.

createdOndatetimeOptional

The date this entity was created.

createdByUUIDOptional

The id of the user who created this entity.

updatedOndatetimeOptional

The date this entity was last modified.

updatedByUUIDOptional

The id of the user who last modified this entity.