Fetch current user information
Auth
Fetch current user information.
User successfully fetched
application/json
-
user_name
string
required
-
The user's identifier
-
security
object
required
-
A user's security information
-
-
roles
string[]
-
The set of roles assigned to a user
-
permissions
string[]
-
The distinct set of permissions allowed by the user's roles. These correspond to operationId values in the OpenAPI definition.
-
elevated_permissions
object
-
A user's elevated permissions status
-
-
enabled
boolean
required
-
True if the user has elevated permissions
-
expires_at
string · format: date-time
-
The time at which the user's elevated permissions expire
-
password
string
-
The user's password. Only used when modifying a user.
-
enabled
boolean
-
True if the user is enabled
-
security_realm
object
-
The security realm the user belongs to
-
-
type
enum
required
-
The type of the security realm
-
Values:
native
ldap
saml
active_directory
-
id
string
required
-
The identifier for the security realm
-
metadata
object
-
Metadata for a user
-
-
full_name
string
-
The user's optional full name
-
email
string
-
The user's optional email address
-
builtin
boolean
-
True if the user is a built-in read-only user
Invalid user authentication. (code: root.unauthenticated)
application/json
-
errors
object[]
required
-
A list of errors that occurred in the failing request
-
-
code
string
required
-
A structured code representing the error type that occurred
-
message
string
required
-
A human readable message describing the error that occurred
-
fields
string[]
-
If the error can be tied to a specific field or fields in the user request, this lists those fields
User not found. (code: user.not_found)
application/json
-
errors
object[]
required
-
A list of errors that occurred in the failing request
-
-
code
string
required
-
A structured code representing the error type that occurred
-
message
string
required
-
A human readable message describing the error that occurred
-
fields
string[]
-
If the error can be tied to a specific field or fields in the user request, this lists those fields