---
title: "Update Button Styles"
method: PATCH
path: "/cabinet/admin/button-styles"
tags: ["Admin Button Styles"]
---

# Update Button Styles

`PATCH /cabinet/admin/button-styles`

Partially update per-section button styles. Admin only.

## Request body

- ButtonStylesUpdate — Partial update — only include sections you want to change.
  - `home` ButtonSectionUpdate — Partial update for a single section (None = keep current).
    - `style` string, nullable
    - `icon_custom_emoji_id` string, nullable
    - `enabled` boolean, nullable
    - `labels` object, nullable
  - `subscription` ButtonSectionUpdate — Partial update for a single section (None = keep current).
    - `style` string, nullable
    - `icon_custom_emoji_id` string, nullable
    - `enabled` boolean, nullable
    - `labels` object, nullable
  - `balance` ButtonSectionUpdate — Partial update for a single section (None = keep current).
    - `style` string, nullable
    - `icon_custom_emoji_id` string, nullable
    - `enabled` boolean, nullable
    - `labels` object, nullable
  - `referral` ButtonSectionUpdate — Partial update for a single section (None = keep current).
    - `style` string, nullable
    - `icon_custom_emoji_id` string, nullable
    - `enabled` boolean, nullable
    - `labels` object, nullable
  - `support` ButtonSectionUpdate — Partial update for a single section (None = keep current).
    - `style` string, nullable
    - `icon_custom_emoji_id` string, nullable
    - `enabled` boolean, nullable
    - `labels` object, nullable
  - `info` ButtonSectionUpdate — Partial update for a single section (None = keep current).
    - `style` string, nullable
    - `icon_custom_emoji_id` string, nullable
    - `enabled` boolean, nullable
    - `labels` object, nullable
  - `admin` ButtonSectionUpdate — Partial update for a single section (None = keep current).
    - `style` string, nullable
    - `icon_custom_emoji_id` string, nullable
    - `enabled` boolean, nullable
    - `labels` object, nullable

## Response `200`

Successful Response

- ButtonStylesResponse — Full button styles configuration (all 7 sections).
  - `home` ButtonSectionConfig — Configuration for a single button section.
    - `style` string
    - `icon_custom_emoji_id` string
    - `enabled` boolean
    - `labels` object
  - `subscription` ButtonSectionConfig — Configuration for a single button section.
    - `style` string
    - `icon_custom_emoji_id` string
    - `enabled` boolean
    - `labels` object
  - `balance` ButtonSectionConfig — Configuration for a single button section.
    - `style` string
    - `icon_custom_emoji_id` string
    - `enabled` boolean
    - `labels` object
  - `referral` ButtonSectionConfig — Configuration for a single button section.
    - `style` string
    - `icon_custom_emoji_id` string
    - `enabled` boolean
    - `labels` object
  - `support` ButtonSectionConfig — Configuration for a single button section.
    - `style` string
    - `icon_custom_emoji_id` string
    - `enabled` boolean
    - `labels` object
  - `info` ButtonSectionConfig — Configuration for a single button section.
    - `style` string
    - `icon_custom_emoji_id` string
    - `enabled` boolean
    - `labels` object
  - `admin` ButtonSectionConfig — Configuration for a single button section.
    - `style` string
    - `icon_custom_emoji_id` string
    - `enabled` boolean
    - `labels` object

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/bedolagam/apis/remnawave-bot-admin-api.md) · [All operations](https://skmtc.net/bedolagam/apis/remnawave-bot-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bedolagam/remnawave-bot-admin-api/revisions/45956d1b13ec/schema)
