Users API
The Users API provides endpoints for managing Grafana users and their profiles.Get Current User
Get profile information for the currently authenticated user.User internal ID
User unique identifier
User email address
Username
Display name
Whether user has Grafana admin privileges
Get User by ID
Retrieve user information by user ID.User ID
Get User by Login or Email
Lookup a user by login name or email address.Username or email address to lookup
Update Current User
Update the current user’s profile.Email address
Display name
Username
UI theme: “light” or “dark”
Update User
Update a user by their ID (admin only).User ID
Change Password
Change the current user’s password.Current password
New password
Confirm new password
Get User Organizations
Get all organizations for a specific user.User ID
Organization ID
Organization name
User’s role in the organization: “Admin”, “Editor”, or “Viewer”
Get Current User Organizations
Get organizations for the currently authenticated user.Get User Teams
Get all teams for a specific user.User ID
Switch User Organization
Switch the current user’s active organization.Organization ID to switch to
Search Users
Search for users (deprecated - use search with paging instead).Number of users per page
Page number
Search Users with Paging
Search for users with pagination support.Search query (searches name, login, and email fields)
Number of users per page
Page number
Permissions
If you are running Grafana Enterprise with Fine-grained access control enabled:- Read user: Requires
users:readpermission - Update user: Requires
users:writepermission with scopeusers:id:<id> - Create user: Requires
users:createpermission - Delete user: Requires
users:deletepermission with scopeusers:id:<id>