provider_auths
Creates, updates, deletes, gets or lists a provider_auths resource.
Overview​
| Name | provider_auths |
| Type | Resource |
| Id | railway.account.provider_auths |
Fields​
The following fields are returned by SELECT queries:
- list
One row per ProviderAuth.
| Name | Datatype | Description |
|---|---|---|
id | string | |
user_id | string | |
email | string | |
is_auth_enabled | boolean | |
metadata | object | |
provider | string |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | Lists ProviderAuth objects of a User. Backed by the Railway GraphQL query me.providerAuths. | ||
remove | delete | id | Deletes a ProviderAuth. Backed by the Railway GraphQL mutation providerAuthRemove. |
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 |
|---|---|---|
id | string |
SELECT examples​
- list
Lists ProviderAuth objects of a User. Backed by the Railway GraphQL query me.providerAuths.
SELECT
id,
user_id,
email,
is_auth_enabled,
metadata,
provider
FROM railway.account.provider_auths
;
DELETE examples​
- remove
Deletes a ProviderAuth. Backed by the Railway GraphQL mutation providerAuthRemove.
DELETE FROM railway.account.provider_auths
WHERE
id = '{{ id }}' --required
;