Archives or unarchives the project type with the specified id.

POST

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

projectTypeIdstringRequired

Id of the type which will be changed.

Request

This endpoint expects an object.
isArchivedbooleanRequired

Flags the entity as archived.

Response

OK

idstringOptional

The id of the type.

namestringOptional

The name of the project type.

descriptionstringOptional

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

iconstringOptional

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.

createdBystringOptional

The id of the user who created this entity.

updatedOndatetimeOptional

The date this entity was last modified.

updatedBystringOptional

The id of the user who last modified this entity.