Archives or unarchives the project type with the specified id.

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

Path parameters

projectTypeIdstringRequiredformat: "uuid"
Id of the type which will be changed.

Headers

AuthorizationstringRequired

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

Request

The archiving model object.
isArchivedbooleanRequired
Flags the entity as archived.

Response

OK
idstring or nullformat: "uuid"
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.
createdOnstring or nullformat: "date-time"
The date this entity was created.
createdBystring or nullformat: "uuid"
The id of the user who created this entity.
updatedOnstring or nullformat: "date-time"
The date this entity was last modified.
updatedBystring or nullformat: "uuid"
The id of the user who last modified this entity.