Skip to main content

Manage workspaces

Create, list, and organize partner workspaces that group client companies.

Prerequisites

  • SERVICE_PARTNER org and machine JWT
Required permissions: partner:workspace:manage.

Steps

1

List workspaces

curl -sS "$FLUIDE_BASE_URL/api/v1/workspaces" \
  -H "Authorization: Bearer $FLUIDE_ACCESS_TOKEN" \
  -H "X-Fluide-Api-Key: $FLUIDE_API_KEY" \
  -H "X-Fluide-Client-Id: fluide-developer"
2

Create a workspace

curl -sS -X POST "$FLUIDE_BASE_URL/api/v1/workspaces" \
  -H "Authorization: Bearer $FLUIDE_ACCESS_TOKEN" \
  -H "X-Fluide-Api-Key: $FLUIDE_API_KEY" \
  -H "X-Fluide-Client-Id: fluide-developer" \
  -H "Content-Type: application/json" \
  -d '{"name":"Sandbox merchants","metadata":{"visibility":"public"}}'
3

Update or delete

Use PATCH /api/v1/workspaces/{id} or DELETE per Auth API reference. Private workspaces restrict visibility to owners/admins and workspace_member rows.

Tips

  • Use separate workspaces for sandbox vs production merchants.

onboard client company