cURL
curl --request POST \ --url https://lancepilot.com/api/v3/workspaces \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "type": "INTERNAL", "status": true } '
{ "status": 201, "message": "Resource created successfully.", "data": {} }
Create a new workspace for the authenticated user.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Workspace creation parameters.
Unique name per user.
Type of workspace.
INTERNAL
PARTNER
Workspace status (active/inactive).
201
"Resource created successfully."
Created resource data.