Profile
Authorized App View
https://api.linode.com/v4/profile/apps/{appId}
Returns information about a single app you've authorized to access your Account.
Path Parameters
The authorized app ID to manage.
Request Samples
- Shell
- CLI
curl -H "Authorization: Bearer $TOKEN" \
https://api.linode.com/v4/profile/apps/123
Response Samples
- 200
- default
{
"created": "2018-01-01T00:01:01",
"expiry": "2018-01-15T00:01:01",
"id": 1234,
"label": "example-app",
"thumbnail_url": "",
"scopes": "linodes:read_only",
"website": "example.org"
}
Responses
200: The app requested.
When this app was authorized.
When the app's access to your account expires. If null
, the app's access must be revoked manually.
This authorization's ID, used for revoking access.
The name of the application you've authorized.
The URL at which this app's thumbnail may be accessed.
The OAuth scopes this app was authorized with. This defines what parts of your Account the app is allowed to access.
The website where you can get more information about this app.
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.
App Access Revoke
https://api.linode.com/v4/profile/apps/{appId}
Expires this app token. This token may no longer be used to access your Account.
Path Parameters
The authorized app ID to manage.
Request Samples
- Shell
- CLI
curl -H "Authorization: Bearer $TOKEN" \
-X DELETE \
https://api.linode.com/v4/profile/apps/123
Response Samples
- 200
- default
{}
Responses
200: App's authorization has been revoked.
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.