Users

A User in R2R represents an authenticated entity that can interact with the system. Users are the foundation of R2R’s access control system, enabling granular permissions management, activity tracking, and content organization through collections.

Users in R2R provide:

  • Authentication and authorization
  • Collection membership management
  • Activity tracking and analyticsMetadata customization
  • Superuser capabilities for system administration

Available Endpoints

MethodEndpointDescription
GET/users/{user_id}Get detailed information about a specific user
GET/users/{user_id}/collectionsList all collections that the user is a member of
POST/users/{user_id}/collections/{collection_id}Add the user to a specified collection
DELETE/users/{user_id}/collections/{collection_id}Remove the user from a specified collection
GET/users/{user_id}/limitsFetch User Limits
GET/users/meGet authenticated user details