Skip to main content

members

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

Overview

Namemembers
TypeResource
Idvercel.marketplace.members

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstring
global_user_idstring (wire: globalUserId)
rolestring"The ADMIN role, by default, is provided to users capable of installing integrations, while the USER role can be granted to Vercel users with the Vercel Billing or Vercel Viewer role, which are considered to be Read-Only roles." (ADMIN, USER)
user_emailstring (wire: userEmail)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectintegration_configuration_id, member_idReturns the member role and other information for a given member ID ("user_id" claim in the SSO OIDC token).

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
integration_configuration_idstring
member_idstring

SELECT examples

Returns the member role and other information for a given member ID ("user_id" claim in the SSO OIDC token).

SELECT
id,
global_user_id,
role,
user_email
FROM vercel.marketplace.members
WHERE integration_configuration_id = '{{ integration_configuration_id }}' -- required
AND member_id = '{{ member_id }}' -- required
;