---
title: "Update the TaskCategory"
method: PUT
path: "/tasks/categories/{id}"
tags: ["Utility"]
---

# Update the TaskCategory

`PUT /tasks/categories/{id}`

Replaces the TaskCategory resource.

## Path parameters

- `id` string, required

## Request body

- TaskCategoryEdit
  - `name` LanguageTranslation, required — This structure does accept key & values where key has to be a language code configured in your PIM & the value is the value for this field in this language.
    - `fr-FR` string
    - `en-US` string

## Response `200`

TaskCategory resource updated

- TaskCategoryTaskCategoryOutput
  - `isProtected` boolean
  - `name` LanguageTranslation — This structure does accept key & values where key has to be a language code configured in your PIM & the value is the value for this field in this language.
    - `fr-FR` string
    - `en-US` string
  - `dateCreated` string, date-time, nullable
  - `dateModified` string, date-time, nullable
  - `id` string — This is the unique identifier of the resource
  - `legacyId` integer

## Other responses

- `400` — Invalid input
- `404` — Resource not found
- `422` — Unprocessable entity

---

[API](https://skmtc.dev/quable/apis/quable-pim-api-documentation-v5.md) · [All operations](https://skmtc.dev/quable/apis/quable-pim-api-documentation-v5/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/quable/quable-pim-api-documentation-v5/revisions/1641096abb34/schema)
