The user ID to ban/unban.
Set to true to ban the user, false to unban.
AuthenticationRequired if authentication is missing.
ApiError with status 401 if authentication is invalid.
ApiError with status 403 if insufficient permissions.
ApiError with status 404 if user not found.
Change a user's role.
Update a user's role to grant or revoke permissions. You cannot change your own role.
Requires: Admin role.
The user ID to update.
The new role.
AuthenticationRequired if authentication is missing.
ApiError if invalid role or trying to change own role.
ApiError with status 401 if authentication is invalid.
ApiError with status 403 if insufficient permissions.
ApiError with status 404 if user not found.
Get a user by ID.
Returns minimal user information. Used by moderators for content review.
Requires: Moderator role or higher.
User ID
AuthenticationRequired if authentication is missing.
ApiError with status 401 if authentication is invalid.
ApiError with status 403 if insufficient permissions.
ApiError with status 404 if user not found.
List all users.
Returns a paginated list of all users with their full profiles.
Requires: Admin role.
Optionalquery: ListUsersOptionsAuthenticationRequired if authentication is missing.
ApiError with status 400 if invalid query parameters.
ApiError with status 401 if authentication is invalid.
ApiError with status 403 if insufficient permissions.
Get your own profile.
Returns the profile information for the currently authenticated user.
AuthenticationRequired if authentication is missing.
Ban or unban a user.
Banned users cannot authenticate or use the API. Their existing API keys will be rejected.
Requires: Admin role.