Rename project
PATCHhttps://api.instacloud.com/projects/{projectId}
Token scope: account · org · project — read-only tokens refused (not a GET).
Rename a project (display name only).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
projectId | path | string | yes |
Request body
application/json
| Field | Type | Required | Description |
|---|---|---|---|
name | string | yes |
Responses
200
Default Response
| Field | Type | Required | Description |
|---|---|---|---|
project | object | no | |
project.id | string | no | |
project.org_id | string | no | |
project.owner_user_id | string | no | Better Auth user id (opaque string, not a UUID) |
project.name | string | no | |
project.status | "active" | "error" | "deleting" | "deleted" | no | |
project.created_at | string | no |
202
Default Response
| Field | Type | Required | Description |
|---|---|---|---|
status | string | yes | |
approvalId | string | yes | |
action | string | yes | |
actions | string[] | yes | |
message | string | yes | |
url | string | yes |
400
Default Response
| Field | Type | Required | Description |
|---|---|---|---|
error | string | yes |
403
Default Response
| Field | Type | Required | Description |
|---|---|---|---|
error | string | yes |
404
Default Response
| Field | Type | Required | Description |
|---|---|---|---|
error | string | yes |
409
Default Response
| Field | Type | Required | Description |
|---|---|---|---|
error | string | yes |