---
title: "Rename an org (first-class-orgs)"
method: PATCH
path: "/orgs/v1/{org_id}"
tags: ["Org"]
---

# Rename an org (first-class-orgs)

`PATCH /orgs/v1/{org_id}`

## Request

- Base URL: `https://api.run402.com`
- URL: `https://api.run402.com/orgs/v1/{org_id}`
- Auth: API key in header `SIGN-IN-WITH-X`

Owner-only; sets or clears the org's display_name (null or empty string clears) and returns the updated org summary including tier lease state. Step-up gated. Authorize-before-reveal on a non-owner (incl. a guessed id).

## Path parameters

- `org_id` string, uuid, required

## Headers

- `SIGN-IN-WITH-X` string, required

## Request body

- object
  - `display_name` string, nullable, required

## Response `200`

The updated org

- object
  - `org_id` string, uuid
  - `display_name` string, nullable
  - `slug` unknown
  - `tier` unknown
  - `lease_started_at` string, date-time: ISO-8601 timestamp when the current lease began. Null only for a placeholder org that has not set a tier.
  - `lease_expires_at` string, date-time: ISO-8601 timestamp when the current lease expires. Null only for a placeholder org that has not set a tier.

## Other responses

- `403`: Owner role required (FORBIDDEN) — also returned for a guessed id

---

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