Get an account login

Returns a Login object that displays information about a successful login. The logins that can be viewed can be for any user on the account, and are not limited to only the logins of the user that is accessing this API endpoint.

Permissions and scopes

To call this operation, you need permissions, based on the model you're using:

  • Identity and access permissions. Your user needs a role with these permissions. Learn more.

    • Permissions: view_account_login
  • OAuth scopes. Your user needs these scopes assigned. Learn more.

    • Scopes: account:read_only

CLI

linode-cli account login-view 1234

Learn more

Path Params
string
enum
required

Enum Call either the v4 URL, or v4beta for operations still in Beta.

Allowed:
integer
required

The ID of the login object to access.

Responses

Response body
object
date-time

Read-only When the login was initiated.

integer

Read-only The unique ID of this login object.

string

Read-only The remote IP address that requested the login.

boolean

Read-only True if the User that attempted the login was a restricted User, false otherwise.

string
enum

Read-only Whether the login attempt succeeded or failed.

successful failed

string

Read-only The username of the User that attempted the login.

Language
Credentials
Original text
Rate this translation
Your feedback will be used to help improve Google Translate