---
title: "Update existing category with input information. If not specified in the input, the existing value will be kept intact"
method: PUT
path: "/api/2.0/category/{objectId}"
tags: ["Category Management API"]
---

# Update existing category with input information. If not specified in the input, the existing value will be kept intact

`PUT /api/2.0/category/{objectId}`

## Request

- Base URL: `https://app.agenticbi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.agenticbi.com/api/2.0/category/{objectId}`
- Auth: HTTP bearer

## Path parameters

- `objectId` integer, required

## Request body

- CategoryTreeItem: Category information
  - `createdDate` integer: Created date in milliseconds
  - `lastModDate` integer: Last modified date
  - `id` integer: Category ID
  - `name` string, required: Category name
  - `parentId` integer, required: Parent category ID
  - `objectType` integer, required: Category object type
  - `userId` integer: Category user ID
  - `customerId` integer: Category customer ID
  - `accessLevel` integer: Access level

## Response `200`

Success

- CategoryTreeItem: Category information
  - `createdDate` integer: Created date in milliseconds
  - `lastModDate` integer: Last modified date
  - `id` integer: Category ID
  - `name` string, required: Category name
  - `parentId` integer, required: Parent category ID
  - `objectType` integer, required: Category object type
  - `userId` integer: Category user ID
  - `customerId` integer: Category customer ID
  - `accessLevel` integer: Access level

## Other responses

- `400`: Bad request
- `401`: User is not authenticated
- `403`: User is not allowed to access this resource
- `500`: Error during processing

---

[API](https://skmtc.dev/agenticbi/apis/user-management-api.md) · [All operations](https://skmtc.dev/agenticbi/apis/user-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/agenticbi/apis/user-management-api/revisions/62c42a99830e?raw)
