---
title: "Update bot profile"
method: PATCH
path: "/oauth2/applications/{id}/bot"
tags: ["OAuth2"]
---

# Update bot profile

`PATCH /oauth2/applications/{id}/bot`

Modifies bot profile information such as name, avatar, and status. Changes apply to the bot account associated with this OAuth2 application.

## Path parameters

- `id` union, required
  - string, snowflake
  - integer

## Request body

- BotProfileUpdateRequest
  - `username` string
  - `discriminator` union
    - string
    - number
  - `avatar` string
  - `banner` string
  - `bio` string, nullable — The bio or description of the bot
  - `bot_flags` integer — The bot user flags

## Response `200`

Success

- BotProfileResponse
  - `id` string, snowflake, required
  - `username` string, required — The username of the bot
  - `discriminator` string, required — The discriminator of the bot
  - `avatar` string, nullable, required — The avatar hash of the bot
  - `banner` string, nullable, required — The banner hash of the bot
  - `bio` string, nullable, required — The bio or description of the bot
  - `flags` integer, required — The bot user flags

## Other responses

- `400` — Bad Request - The request was malformed or contained invalid data
- `401` — Unauthorized - Authentication is required or the token is invalid
- `403` — Forbidden - You do not have permission to perform this action
- `429` — Too Many Requests - You are being rate limited
- `500` — Internal Server Error - An unexpected error occurred

## Changes

> 20 revisions in range; 2 not diffed.

- **2026-09-18** `dd0ad4ea1c88` — 5 breaking, 4 info
  - request property `bio` list-of-types was narrowed by removing types `null` from media type `application/json`
  - request property `discriminator` list-of-types was narrowed by removing types `number` from media type `application/json`
  - the response property `avatar` became nullable for the status `200`
  - the response property `banner` became nullable for the status `200`
  - …5 more
- **2026-09-06** `a52a2cf49d9b` — 32 warning
  - added the new `IP_BAN_DECLINED` enum value to the `code` response property for the response status `400`
  - added the new `IP_BAN_DECLINED` enum value to the `code` response property for the response status `401`
  - added the new `IP_BAN_DECLINED` enum value to the `code` response property for the response status `403`
  - added the new `IP_BAN_DECLINED` enum value to the `code` response property for the response status `500`
  - …28 more
  - …this revision’s changelog is incomplete
- …earlier changes not shown

[Full history](https://skmtc.dev/fluxer/apis/fluxer-api/changes/oauth2/applications/:id/bot/patch.md)

---

[API](https://skmtc.dev/fluxer/apis/fluxer-api.md) · [All operations](https://skmtc.dev/fluxer/apis/fluxer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/fluxer/apis/fluxer-api/revisions/55834b33d5d5?raw)
