Skip to main content

access_group_members

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

Overview

Nameaccess_group_members
TypeResource
Idvercel.access_groups.access_group_members

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestring
avatarstring
created_atstring (wire: createdAt)
emailstring
team_rolestring (BILLING, CONTRIBUTOR, DEVELOPER, MEMBER, OWNER, SECURITY, VIEWER, VIEWER_FOR_PLUS) (wire: teamRole)
uidstring
usernamestring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectid_or_namelimit, next, search, team_id, slugList members of an access group

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
id_or_namestringThe ID or name of the Access Group.
limitintegerLimit how many access group members should be returned.
nextstringContinuation cursor to retrieve the next page of results.
slugstringThe Team slug to perform the request on behalf of.
team_idstringThe Team identifier to perform the request on behalf of. (wire: teamId)

SELECT examples

List members of an access group

SELECT
name,
avatar,
created_at,
email,
team_role,
uid,
username
FROM vercel.access_groups.access_group_members
WHERE id_or_name = '{{ id_or_name }}' -- required
AND limit = '{{ limit }}'
AND next = '{{ next }}'
AND search = '{{ search }}'
AND team_id = '{{ team_id }}'
AND slug = '{{ slug }}'
;