---
title: "Update"
method: PATCH
path: "/bot_users/{id}"
tags: ["BotUsers"]
---

# Update

`PATCH /bot_users/{id}`

Update attributes of a bot user by ID.

## Path parameters

- `id` string, required

## Headers

- `ngrok-version` integer, required

## Request body

- BotUserUpdate
  - `id` string — n/a
  - `name` string — human-readable name used to identify the bot
  - `active` boolean — whether or not the bot is active

## Response `200`

Update attributes of a bot user by ID.

- BotUser
  - `id` string — unique API key resource identifier
  - `uri` string — URI to the API resource of this bot user
  - `name` string — human-readable name used to identify the bot
  - `active` boolean — whether or not the bot is active
  - `created_at` string — timestamp when the api key was created, RFC 3339 format

---

[API](https://skmtc.net/ngrok/apis/ngrok-openapi.md) · [All operations](https://skmtc.net/ngrok/apis/ngrok-openapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ngrok/ngrok-openapi/versions/1994bbb04714/schema)
