# Workspace Users (Public API)

## List Users in Workspace

```http
GET /open/workspaces/{workspaceId}/users HTTP/1.1
Authorization: Bearer <token with `workspace-users-read`>
```

## Add User to Workspace

Self-hosted Community instances are limited to 2 users total across the whole instance. Adding or inviting a new user beyond that limit requires a self-hosted Enterprise license.

```http
POST /open/workspaces/{workspaceId}/users/add HTTP/1.1
Authorization: Bearer <token with `workspace-users-write`>
Content-Type: application/json

{ "email": "user@example.com", "role": "member" }
```

## Remove User from Workspace

```http
DELETE /open/workspaces/{workspaceId}/users/{userId}/remove HTTP/1.1
Authorization: Bearer <token with `workspace-users-write`>
```
