Workspaces
Endpoints for managing workspaces.
List Workspaces
Gets a paginated list of workspaces the user has access to. For SedaroProject users, only returns the project's workspace.
Create Workspace
Creates a new workspace. The creator is automatically added as an owner and member.
Get Workspace
Gets the details of a specific workspace the user has access to.
Update Workspace
Partially updates a workspace. Only workspace owners can perform this action. If publicAllowed is set to False, all public resources will be removed.
Delete Workspace
Deletes a workspace. Only workspace owners can perform this action. This action is irreversible and will delete all associated data.
List Workspace Members
Gets a paginated list of members in the workspace. If user_id is provided, returns details for that specific member.
Update Workspace Member
Updates a user's membership in the workspace. Only workspace owners can perform this action. Cannot remove the last owner from a workspace.
Remove Workspace Member
Removes a user from the workspace. Users can remove themselves, but only owners can remove other users. This cascades to remove role assignments and group memberships. Cannot remove the last owner from a workspace.
Get My Membership
Gets the calling user's membership details in the workspace.