Get info about a Linode Personal Access Token.
- name: Get info about a token by label
linode.cloud.token_info:
label: my-token
- name: Get info about a token by ID
linode.cloud.token_info:
id: 12345
Field | Type | Required | Description |
---|---|---|---|
id |
int |
Optional | The ID of the token. (Conflicts With: label ) |
label |
str |
Optional | The label of the token. (Conflicts With: id ) |
-
token
- The token in JSON serialized form.- Sample Response:
{ "created": "2018-01-01T00:01:01", "expiry": "2018-01-01T13:46:32", "id": 123, "label": "linode-cli", "scopes": "*", "token": "abcdefghijklmnop" }
- See the Linode API response documentation for a list of returned fields
- Sample Response: