跳到主要内容

workspace-create

workspace-create

Request Body REQUIRED
name string REQUIRED

Possible values: 4 ≤ length ≤ 60

Responses
200

Successful response

Schema OPTIONAL
id string
role string
username string
nickname string
avatar string
email string
createdAt date-time
updatedAt date-time
deletedAt date-time
currentWorkspaceId string
workspaces object[]
role string
workspace object
id string
name string
settings object
paused boolean
default

Error response

Schema OPTIONAL
message string
code string
issues object[] OPTIONAL
message string
workspace-create
POST /workspace//create
Body
Loading...
http://localhost:12345/open
curl -L -X POST 'http://localhost:12345/open/workspace//create' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'