Skip to main content

api_token_workspaces

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

Overview​

Nameapi_token_workspaces
TypeResource
Idrailway.account.api_token_workspaces

Fields​

The following fields are returned by SELECT queries:

One row per ApiTokenWorkspace.

NameDatatypeDescription
idstring
namestring

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectIntrospect the current API token and its accessible workspaces. Backed by the Railway GraphQL query apiToken.

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

SELECT examples​

Introspect the current API token and its accessible workspaces. Backed by the Railway GraphQL query apiToken.

SELECT
id,
name
FROM railway.account.api_token_workspaces
;