Palbase Workspaces API · API
POST
/workspacesCreate a workspace
Creates a new synchronized workspace seeded with the editable default .palbasesync template.
Called by your server, with the project's secret key.
Request body
namestring · optionalstorageobject · optionalcurl
curl -X POST "https://<your-ref>.palbase.studio/workspaces" \
-H "apikey: $PALBASE_SECRET_KEY" \
-H "content-type: application/json" \
-d '{"name":"string","storage":{"kind":"managed","endpoint":"string","region":"string","bucket":"string","prefix":"string","access_key_id":"string","secret_access_key":"string","force_path_style":false,"presign_endpoint":"string"}}'Responses
201Workspace created.
defaultAn error envelope.
Operation CreateWorkspace of workspaces's contract.