---
title: "Updates an existing project type."
method: PUT
path: "/projecttypes/{projectTypeId}"
tags: ["projectTypes"]
---

# Updates an existing project type.

`PUT /projecttypes/{projectTypeId}`

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

## Path parameters

- `projectTypeId` string, uuid, required

## Headers

- `Authorization` string, required

## Request body

- ProjectTypeForm — The POST / PUT project type model.
  - `name` string, required — The names of the project type.
  - `description` string, nullable — A short description of the project type.
  - `icon` string, nullable — The identifier of the project type icon.

## Response `200`

OK

- ProjectType — The project type model.
  - `id` string, uuid — The id of the type.
  - `name` string, nullable — The name of the project type.
  - `description` string, nullable — A short (max. 140 characters) description of the project type.
  - `icon` string, nullable — The identifier of the project type icon.
  - `isArchived` boolean — Whether this type is archived. It can no longer be used to create projects, but existing projects will continue using it.
  - `isPreset` boolean — Whether this type is one of the preset types. Preset types cannot be edited.
  - `createdOn` string, date-time — The date this entity was created.
  - `createdBy` string, uuid — The id of the user who created this entity.
  - `updatedOn` string, date-time — The date this entity was last modified.
  - `updatedBy` string, uuid — The id of the user who last modified this entity.

## Other responses

- `400` — Bad Request
- `404` — Not Found

## Changes

- **2026-08-21** `a13e7c704262` — 3 warning
  - the `description` request property's maxLength was set to `1000`
  - the `icon` request property's maxLength was set to `25`
  - the `name` request property's maxLength was set to `255`

[Change history](https://skmtc.dev/awork-io/apis/api-v1-reference/changes/projecttypes/:projectTypeId/put.md)

---

[API](https://skmtc.dev/awork-io/apis/api-v1-reference.md) · [All operations](https://skmtc.dev/awork-io/apis/api-v1-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/awork-io/api-v1-reference/revisions/a13e7c704262/schema)
