Change a workspace.
Change a workspace.
Path Parameters
- organization_id integer required
ID of the workspace
- application/json
Request Body required
- name string required
The name of the workspace
- description string
the description of the workspace
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 500
Workspace was changed
- application/json
- Schema
- Example (from schema)
Schema
- id integer
The ID of the workspace.
- name string
The name of the workspace
- description string
the description of the workspace
- created date-time
creation date
- is_beta boolean
if the workspace has beta features
- is_read_only boolean
if the workspace is read-only
{
"id": 5,
"name": "My first workspace",
"description": "This is my first workspace to test wonderful models",
"created": "2023-11-02",
"is_beta": true,
"is_read_only": true
}
The body sent is invalid. Check the error message for more details
User is not authenticated. This means token is either not present or invalid
User does not have the minimal required organization role "MANAGER"
No workspace was found that corresponds to the ID sent
The workspace name is already taken
Something is wrong with the API.
Loading...