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
}Create a new 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
}Was this page helpful?