---
title: "Public Api Update Account"
method: PATCH
path: "/api/v1/accounts/{account_id}"
tags: ["public-api"]
---

# Public Api Update Account

`PATCH /api/v1/accounts/{account_id}`

## Request

- Base URL: `https://api.rahanetwork.cloud` (the document declares no server; this is the origin it was published from)
- URL: `https://api.rahanetwork.cloud/api/v1/accounts/{account_id}`
- Auth: none declared

Set the nickname, the tags, and (premium resellers) the customer name / contact / note.

Tags are private: a reseller key sets its own (only that reseller sees them), an
owner key the bot's sudo tags.

## Path parameters

- `account_id` integer, required

## Request body

- DetailsBody
  - `nickname` string, nullable
  - `customer` CustomerFields
    - `name` string, nullable
    - `contact` string, nullable
    - `note` string, nullable
  - `tags` string[], nullable: the account's tags, by name (replaces them; unknown names are created)

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-09** `a340bfa05fd5`: 1 info
  - added the new optional request property `tags`
- **2026-10-07** `b53005445497`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/rahanetwork/apis/remnabot/changes/api/v1/accounts/:account_id/patch.md)

---

[API](https://skmtc.dev/rahanetwork/apis/remnabot.md) - [All operations](https://skmtc.dev/rahanetwork/apis/remnabot/llms.txt) - [OpenAPI document](https://skmtc.dev/rahanetwork/apis/remnabot/revisions/9f53dd81b28b?raw)
