Skip to main content
POST
/
workspaces
Create Workspace
curl --request POST \
  --url https://api.example.com/workspaces \
  --header 'Content-Type: application/json' \
  --cookie fastapiusersauth= \
  --data '
{
  "name": "<string>",
  "settings": {},
  "owner_id": "00000000-0000-0000-0000-000000000000"
}
'
{
  "id": "<string>",
  "name": "<string>",
  "n_members": 123
}

Authorizations

fastapiusersauth
string
cookie
required

Body

application/json
name
string
required
Required string length: 1 - 100
settings
Settings · object
owner_id
string<uuid>
default:00000000-0000-0000-0000-000000000000

Response

Successful Response

id
string<uuid4>
required
name
string
required
n_members
integer
required