Add an existing user to the workspace or send an invitation if the user doesn’t exist.
Documentation Index
Fetch the complete documentation index at: https://docs.raydocs.com/llms.txt
Use this file to discover all available pages before exploring further.
workspace-users-write ability.
| Parameter | Type | Required | Description |
|---|---|---|---|
workspaceId | integer | Yes | The workspace ID |
| Parameter | Type | Required | Description |
|---|---|---|---|
email | string | Yes | Email address of the user to add |
role | string | Yes | Role to assign: admin, user, or readonly |
200 OK – User added or invitation sent.
422 Unprocessable Entity – User is already a member or validation error.User added or invited