Update an existing workspace
Path Parameters
- id cuid required
Workspace ID
- application/json
Request Body
Workspace fields to update
- name string required
- externalRef string
- slug string required
- ownerUserEmail string required
- isArchived boolean
- isPublic boolean
- isOnDemandTemplate boolean
Responses
- 200
- default
OK
- application/json
- Schema
- Example (from schema)
Schema
- name string
- externalRef string
- slug string
- ownerUserEmail string
- createdAt date-time
- updatedAt date-time
- archivedAt date-time
- id cuid
{
"name": "string",
"externalRef": "string",
"slug": "string",
"ownerUserEmail": "string",
"createdAt": "2023-04-13",
"updatedAt": "2023-04-13",
"archivedAt": "2023-04-13",
"id": "string"
}
Unexpected error
- application/json
- Schema
- Example (from schema)
Schema
- code string
- message string
{
"code": "string",
"message": "string"
}
Loading...