cURL
curl --request POST \ --url https://api.dualship.run/api/v1/workspaces \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "metadata": {}, "slug": "<string>" } '
{ "created_at": "2024-01-15T10:30:00Z", "id": "550e8400-e29b-41d4-a716-446655440000", "logo_url": "https://cdn.example.com/logo.png", "metadata": {}, "name": "Acme Corp", "slug": "acme-corp", "updated_at": "2024-01-15T10:30:00Z" }
Create a new workspace and add the authenticated user as owner
JWT Bearer token authentication
Workspace details
2 - 100
Show child attributes
2 - 50
Workspace created
Workspace information
"2024-01-15T10:30:00Z"
"550e8400-e29b-41d4-a716-446655440000"
"https://cdn.example.com/logo.png"
"Acme Corp"
"acme-corp"
Was this page helpful?