access_group_members
Creates, updates, deletes, gets or lists an access_group_members resource.
Overview
| Name | access_group_members |
| Type | Resource |
| Id | vercel.access_groups.access_group_members |
Fields
The following fields are returned by SELECT queries:
- list
| Name | Datatype | Description |
|---|---|---|
name | string | |
avatar | string | |
created_at | string | (wire: createdAt) |
email | string | |
team_role | string | (BILLING, CONTRIBUTOR, DEVELOPER, MEMBER, OWNER, SECURITY, VIEWER, VIEWER_FOR_PLUS) (wire: teamRole) |
uid | string | |
username | string |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | id_or_name | limit, next, search, team_id, slug | List 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.
| Name | Datatype | Description |
|---|---|---|
id_or_name | string | The ID or name of the Access Group. |
limit | integer | Limit how many access group members should be returned. |
next | string | Continuation cursor to retrieve the next page of results. |
search | string | Search project members by their name, username, and email. |
slug | string | The Team slug to perform the request on behalf of. |
team_id | string | The Team identifier to perform the request on behalf of. (wire: teamId) |
SELECT examples
- list
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 }}'
;