---
title: "Update category"
method: PATCH
path: "/categories/{id}"
tags: ["Categories"]
---

# Update category

`PATCH /categories/{id}`

## Path parameters

- `id` integer, required

## Query parameters

- `skipWebhook` boolean

## Request body

- object
  - `label` string — Label used when displaying the category.
  - `description` string — Description field for additional information.

## Response `200`

Successfully edited category

- object
  - `category` object, required
    - `id` integer — Global ID of the category.
    - `label` string, required — Label used when displaying the category.
    - `description` string — Description field for additional information.
    - `workOrderCount` integer — The amount of work order using that category in your organization.
    - `updatedAt` string, date-time — Date & time at which the category was last updated.

## Other responses

- `400` — Failed to edit the category
- `401` — Invalid token
- `404` — Could not find the specified category.

---

[API](https://skmtc.net/getmaintainx/apis/maintainx-api.md) · [All operations](https://skmtc.net/getmaintainx/apis/maintainx-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/getmaintainx/maintainx-api/revisions/ef9153fcac7c/schema)
