---
title: "Updates a new Category"
method: PATCH
path: "/v2/UpdateCategory"
tags: ["CategoryCommand"]
---

# Updates a new Category

`PATCH /v2/UpdateCategory`

## Headers

- `x-tenant-id` string, uuid, required
- `x-runas` string
- `x-companyid` string

## Request body

- JTLWawiItemPublicApiDataTransferObjectsV2CategoryUpdateCategoryCommandRequest — Updates a new Category - Request
  - `id` string, uuid
  - `parentId` string, uuid
  - `sortNumber` integer — The sort number of the category.
  - `name` string — The category name.

## Response `200`

Category was successfully modified

## Other responses

- `404` — Error while updating category.
- `500` — Internal server error.

---

[API](https://skmtc.net/jtl-software/apis/scx-authentication-api.md) · [All operations](https://skmtc.net/jtl-software/apis/scx-authentication-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/jtl-software/scx-authentication-api/revisions/f979b1ea6951/schema)
