---
title: "Update a user"
method: POST
path: "/user/{userId}/update"
tags: ["User"]
---

# Update a user

`POST /user/{userId}/update`

## Request

- Base URL: `https://api.chatbotkit.com/api/v1`
- URL: `https://api.chatbotkit.com/api/v1/user/{userId}/update`
- Auth: HTTP bearer

## Path parameters

- `userId` string, required: The ID of the user

## Request body

- object: Instance crud properties
  - `alias` string, nullable: The unique alias for the instance
  - `name` string: The associated name
  - `description` string: The associated description
  - `meta` Meta: Meta data information
  - `image` string: The image of the user
  - `email` string: The email of the user
  - `limits` Limits: Limits information
    - `tokens` number: The tokens limit
    - `conversations` number: The conversations limit
    - `messages` number: The messages limit
    - `database` object: The database limits
      - `datasets` number: The datasets limit
      - `records` number: The records limit
      - `skillsets` number: The skillsets limit
      - `abilities` number: The abilities limit
      - `files` number: The files limit

## Response `200`

The message was updated successfully

- object
  - `id` string, required: The ID of the updated user

## Other responses

- `default`: An error response

---

[API](https://skmtc.dev/chatbotkit/apis/cbk-api.md) · [All operations](https://skmtc.dev/chatbotkit/apis/cbk-api/llms.txt) · [OpenAPI document](https://skmtc.dev/chatbotkit/apis/cbk-api/revisions/13d250576136?raw)
