---
title: "Rename the active account"
method: PATCH
path: "/accounts"
tags: ["Accounts"]
---

# Rename the active account

`PATCH /accounts`

## Request

- Base URL: `https://api.nippy.host`
- URL: `https://api.nippy.host/accounts`
- Auth: `bearer` (a scheme the document does not define)

## Request body

- RenameAccountDto
  - `name` string, required: New display name for the account

## Response `200`

- APIAccount
  - `id` string, required
  - `name` string, required
  - `role` 'owner' | 'admin' | 'member', required: The caller's role in this account
  - `kind` 'personal' | 'organization', required: Whether this is the personal account or an organization
  - `canManageMembers` boolean, required: Whether the account's plan allows managing members (Team plan)
  - `entitled` boolean, required: Whether the account is active (paid/entitled) vs awaiting payment or lapsed

## Other responses

- `403`: Requires the admin or owner role

---

[API](https://skmtc.dev/nippy/apis/nippy-backend-api.md) · [All operations](https://skmtc.dev/nippy/apis/nippy-backend-api/llms.txt) · [OpenAPI document](https://skmtc.dev/nippy/apis/nippy-backend-api/revisions/7ab23f040a55?raw)
