---
title: "Add asset to existing category"
method: POST
path: "/api/2.0/category/assets/add"
tags: ["Category Management API"]
---

# Add asset to existing category

`POST /api/2.0/category/assets/add`

## Request body

- CategoryAssetRequest
  - `categoryId` integer, required — Category ID to add asset to or remove asset from.
  - `objectId` integer, required — Asset ID to add to category or remove from category.

## Response `200`

Success

- ApiMessage — Response status
  - `message` string — Message
  - `documentation` string — Link to documentation

## Other responses

- `401` — User is not authenticated
- `403` — User is not allowed to access this resource
- `500` — Error during processing

---

[API](https://skmtc.net/knowi/apis/user-management-api.md) · [All operations](https://skmtc.net/knowi/apis/user-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/knowi/user-management-api/revisions/6e6982573ba6/schema)
