Archives or unarchives the project type with the specified id.

<Check title="Required Permissions" icon="key">The user must be an admin or have `project-manage-config:write` permissions.</Check>

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

projectTypeIdstringRequiredformat: "uuid"
The id of the project type.

Request

This endpoint expects an object.
isArchivedbooleanOptional
Flags the entity as archived.

Response

OK
idstringOptionalformat: "uuid"
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.
createdOnstringOptionalformat: "date-time"
The date this entity was created.
createdBystringOptionalformat: "uuid"
The id of the user who created this entity.
updatedOnstringOptionalformat: "date-time"
The date this entity was last modified.
updatedBystringOptionalformat: "uuid"
The id of the user who last modified this entity.