Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 1.26 KB

user_list.md

File metadata and controls

45 lines (33 loc) · 1.26 KB

user_list

List Users.

Examples

- name: List all of the users for the current Linode Account
  linode.cloud.user_list: {}

Parameters

Field Type Required Description
order str Optional The order to list users in. (Choices: desc, asc; Default: asc)
count int Optional The number of results to return. If undefined, all results will be returned.

Return Values

  • users - The returned users.

    • Sample Response:
      [
        {
          "email": "example_user@linode.com",
          "restricted": true,
          "ssh_keys": [
            "home-pc",
            "laptop"
          ],
          "tfa_enabled": null,
          "username": "example_user"
        }
      ]
    • See the Linode API response documentation for a list of returned fields