api_token_workspaces
Creates, updates, deletes, gets or lists an api_token_workspaces resource.
Overview​
| Name | api_token_workspaces |
| Type | Resource |
| Id | railway.account.api_token_workspaces |
Fields​
The following fields are returned by SELECT queries:
- list
One row per ApiTokenWorkspace.
| Name | Datatype | Description |
|---|---|---|
id | string | |
name | string |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | Introspect 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.
| Name | Datatype | Description |
|---|
SELECT examples​
- list
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
;