Skip to main content

apps

Creates, updates, deletes, gets or lists an apps resource.

Overview​

Nameapps
TypeResource
Idlinode.profile.apps

Fields​

The following fields are returned by SELECT queries:

The app requested.

NameDatatypeDescription
idintegerRead-only This authorization's ID, used for revoking access.
createdstring (date-time)Filterable, Read-only When this app was authorized. (example: 2018-01-01T00:01:01)
expirystring (date-time)Filterable, Read-only When the app's access to your account expires. If null, the app's access must be revoked manually. (example: 2018-01-15T00:01:01)
labelstringFilterable, Read-only The name of the application you've authorized. (example: example-app)
scopesstring (oauth-scopes)Read-only The OAuth scopes this app was authorized with. This defines what parts of your Account the app is allowed to access. (example: linodes:read_only)
thumbnail_urlstring (url)Read-only The URL at which this app's thumbnail may be accessed.
websitestring (url)Read-only The website where you can get more information about this app. (example: example.org)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectappIdReturns information about a single app you've authorized to access your account.

Learn more...

Learn more...
listselectpage, page_sizeThis is a collection of OAuth apps that you've given access to your account, and includes the level of access granted.

Learn more...

Learn more...
deletedeleteappIdExpires this app token. This token can no longer be used to access your account.

Learn more...

Learn more...

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
appIdstringThe authorized app ID to manage.
pageintegerThe page of a collection to return.
page_sizeintegerThe number of items to return per page.

SELECT examples​

Returns information about a single app you've authorized to access your account.

Learn more...

Learn more...

SELECT
id,
created,
expiry,
label,
scopes,
thumbnail_url,
website
FROM linode.profile.apps
WHERE appId = '{{ appId }}' -- required
;

DELETE examples​

Expires this app token. This token can no longer be used to access your account.

Learn more...

Learn more...

DELETE FROM linode.profile.apps
WHERE appId = '{{ appId }}' --required
;