Profile
Trusted Devices List
https://api.linode.com/v4/profile/devices
Returns a paginated list of active TrustedDevices for your User. Browsers with an active Remember Me Session are logged into your account until the session expires or is revoked.
Request Samples
- Shell
- CLI
curl -H "Content-Type: application/json" \
-H "Authorization: Bearer $TOKEN" \
https://api.linode.com/v4/profile/devices
Response Samples
- 200
- default
{
"data": [
{
"id": "",
"created": "2018-01-01T01:01:01",
"expiry": "2018-01-31T01:01:01",
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36 Vivaldi/2.1.1337.36\n",
"last_authenticated": "2018-01-05T12:57:12",
"last_remote_addr": "203.0.113.1"
}
],
"page": 1,
"pages": 1,
"results": 1
}
Responses
200: Returns a paginated list of TrustedDevice objects.
The unique ID for this TrustedDevice
When this Remember Me session was started. This corresponds to the time of login with the "Remember Me" box checked.
When this TrustedDevice session expires. Sessions typically last 30 days.
The User Agent of the browser that created this TrustedDevice session.
The last time this TrustedDevice was successfully used to authenticate to login.linode.com.
The last IP Address to successfully authenticate with this TrustedDevice.
The current page.
The total number of pages.
The total number of results.
default: Error
What happened to cause this error. In most cases, this can be fixed immediately by changing the data you sent in the request, but in some cases you will be instructed to open a Support Ticket or perform some other action before you can complete the request successfully.
The field in the request that caused this error. This may be a path, separated by periods in the case of nested fields. In some cases this may come back as "null" if the error is not specific to any single element of the request.