API reference
Rename a workspace
Admin-only name update. Names are unique within the organization, ignoring case. The stable workspace ID and resource ownership do not change. Main can be renamed.
View MarkdownPATCH/workspaces/{workspace_id}
Admin-only name update. Names are unique within the organization, ignoring case. The stable workspace ID and resource ownership do not change. Main can be renamed.
Parameters
workspace_id· path- Workspace ID
Request body
application/json
| Field | Type | Description |
|---|---|---|
nameRequired | string |
Responses
200 · OK
| Field | Type | Description |
|---|---|---|
created_at | string | |
created_by | string | |
id | string | |
name | string | |
role | thundertypes.WorkspaceRole | Role is the caller's effective role, set only by the list endpoint. |
updated_at | string |
400 · Bad Request
| Field | Type | Description |
|---|---|---|
code | integer | |
error | string | |
message | string |
401 · Unauthorized
| Field | Type | Description |
|---|---|---|
code | integer | |
error | string | |
message | string |
403 · Forbidden
| Field | Type | Description |
|---|---|---|
code | integer | |
error | string | |
message | string |
404 · Not Found
| Field | Type | Description |
|---|---|---|
code | integer | |
error | string | |
message | string |
409 · Conflict
| Field | Type | Description |
|---|---|---|
code | integer | |
error | string | |
message | string |
500 · Internal Server Error
| Field | Type | Description |
|---|---|---|
code | integer | |
error | string | |
message | string |
503 · Service Unavailable
| Field | Type | Description |
|---|---|---|
code | integer | |
error | string | |
message | string |
Operation specification
The downloadable Markdown includes the published OpenAPI schema. Use the API origin provided by your compute account.