Example searches: “expires_at”, “shard_init_wait_time”, “totp_device_source_enable_mfa_href”, “https://{{hostname}}/api/v1”, “has_elevated_permissions”
Fetch current user information.
User successfully fetched
The user's identifier
The user's security information
The set of roles assigned to a user
The distinct set of permissions allowed by the user's roles. These correspond to operationId values in the OpenAPI definition.
The user's elevated permission status
True if the user has elevated permissions
The time at which the user's elevated permissions expire
The user's password. Only used when modifying a user.
True if the user is enabled
The user's security realm
The type of the security realm
Values are native, ldap, saml, or active_directory.
native
ldap
saml
active_directory
The identifier for the security realm
The users metadata
The Id of the user that created this user
The date and time when the user was created
The Id of the user that last updated this user
The date and time when the user was last updated
The date and time when the user first logged in
The date and time when the user last logged in
The user's optional full name
The user's optional email address
True if the user is a built-in read-only user
User not found. (code: user.not_found)
user.not_found
The error codes associated with the response
Value is user.not_found.
A list of errors that occurred in the failing request
A structured code representing the error type that occurred
A human readable message describing the error that occurred
If the error can be tied to a specific field or fields in the user request, this lists those fields
curl \ --request GET 'https://{{hostname}}/api/v1/user' \ --user "username:password"