[GH-ISSUE #2838] [FEAT]: Need new api endppoint to append users to workspace #1816

Closed
opened 2026-02-22 18:26:39 -05:00 by yindo · 1 comment
Owner

Originally created by @shreyshreya on GitHub (Dec 15, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/2838

What would you like to see?

New api endpoint to add users to existing workspace. It would help all admin users to add new users to the workspace through api.

Originally created by @shreyshreya on GitHub (Dec 15, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/2838 ### What would you like to see? New api endpoint to add users to existing workspace. It would help all admin users to add new users to the workspace through api.
yindo added the enhancementfeature request labels 2026-02-22 18:26:39 -05:00
yindo closed this issue 2026-02-22 18:26:39 -05:00
Author
Owner

@timothycarambat commented on GitHub (Dec 16, 2024):

There should exist an endpoint under User Management that takes the format of
POST /v1/users/:id/workspaces that takes a body with two keys

{
 "workspaces": ["slug", "slug", "slug"],
 "reset": false
}

reset will determine if the workspace slug associations are being appended or if the workspaces will be the only associations going forward for the user.

There should be an associated GET /v1/users/:id/workspaces to list associations for a give user and their workspaces.

@timothycarambat commented on GitHub (Dec 16, 2024): There should exist an endpoint under `User Management` that takes the format of `POST /v1/users/:id/workspaces` that takes a body with two keys ```json { "workspaces": ["slug", "slug", "slug"], "reset": false } ``` `reset` will determine if the workspace slug associations are being appended or if the workspaces will be the only associations going forward for the user. There should be an associated `GET /v1/users/:id/workspaces` to list associations for a give user and their workspaces.
yindo changed title from [FEAT]: Need new api endppoint to append users to workspace to [GH-ISSUE #2838] [FEAT]: Need new api endppoint to append users to workspace 2026-06-05 14:42:52 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#1816