Skip to main content

provider_auths

Creates, updates, deletes, gets or lists a provider_auths resource.

Overview​

Nameprovider_auths
TypeResource
Idrailway.account.provider_auths

Fields​

The following fields are returned by SELECT queries:

One row per ProviderAuth.

NameDatatypeDescription
idstring
user_idstring
emailstring
is_auth_enabledboolean
metadataobject
providerstring

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectLists ProviderAuth objects of a User. Backed by the Railway GraphQL query me.providerAuths.
removedeleteidDeletes 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.

NameDatatypeDescription
idstring

SELECT examples​

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​

Deletes a ProviderAuth. Backed by the Railway GraphQL mutation providerAuthRemove.

DELETE FROM railway.account.provider_auths
WHERE
id = '{{ id }}' --required
;