Get info about a Linode Profile.
Field | Type | Required | Description |
---|---|---|---|
api_token |
str |
Required | The Linode account personal access token. It is necessary to run the module. It can be exposed by the environment variable LINODE_API_TOKEN instead. See details in Usage. |
- name: Get info about the current Linode profile
linode.cloud.profile_info: {}
-
profile
- The returned Profile.- Sample Response:
{ "authentication_type": "password", "authorized_keys": [ null ], "email": "[email protected]", "email_notifications": true, "ip_whitelist_enabled": false, "lish_auth_method": "keys_only", "referrals": { "code": "871be32f49c1411b14f29f618aaf0c14637fb8d3", "completed": 0, "credit": 0, "pending": 0, "total": 0, "url": "https://www.linode.com/?r=871be32f49c1411b14f29f618aaf0c14637fb8d3" }, "restricted": false, "timezone": "US/Eastern", "two_factor_auth": true, "uid": 1234, "username": "exampleUser", "verified_phone_number": "+5555555555" }
- See the Linode API response documentation for a list of returned fields
- Sample Response: