API reference · Organizations
Rename an organization
PATCH/api/orgs/{id}Signed in session
Parameters
| Field | Type | What it is |
|---|---|---|
| id (path)required | integer | The organization id. |
Request body
application/json, required
| Field | Type | What it is |
|---|---|---|
| namerequired | string |
Example
{
"name": "string"
}Answer 200
Renamed.
| Field | Type | What it is |
|---|---|---|
| ok | boolean | |
| name | string |
Errors
- 400OpenAI shaped error.
- 403OpenAI shaped error.
- 404OpenAI shaped error.
Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.