# Rename org

`PATCH https://api.instacloud.com/orgs/{orgId}`

**Token scope:** `account` · `org` — read-only tokens refused (not a GET).

Rename an org (display name only; slug is frozen). Requires admin.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `orgId` | path | `string` | yes |  |

## Request body (application/json)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | `string` | yes |  |

## Response 200

Default Response

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `org` | `object` | no |  |
| `org.id` | `string` | no |  |
| `org.name` | `string` | no |  |
| `org.slug` | `string` | no |  |
| `org.is_personal` | `boolean` | no |  |
| `org.owner_user_id` | `string` | no | Better Auth user id (opaque string, not a UUID) |
| `org.created_at` | `string` | no |  |
| `org.checkout_token` | `string \| null` | no |  |

## Response 400

Default Response

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `error` | `string` | yes |  |

## Response 403

Default Response

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `error` | `string` | yes |  |

## Response 404

Default Response

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `error` | `string` | yes |  |
