request
Overview
Name | request |
Type | Resource |
Id | vercel.teams.request |
Fields
Name | Datatype | Description |
---|---|---|
accessRequestedAt | number | Timestamp in milliseconds when the user requested access to the team. |
bitbucket | object | Map of the connected Bitbucket account. |
confirmed | boolean | Current status of the membership. Will be true if confirmed, if pending it'll be false . |
github | object | Map of the connected GitHub account. |
gitlab | object | Map of the connected GitLab account. |
joinedFrom | object | A map that describes the origin from where the user joined. |
teamName | string | The name of the team. |
teamSlug | string | The slug of the team. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get_team_access_request | SELECT | teamId, userId | Check the status of a join request. It'll respond with a 404 if the request has been declined. If no userId path segment was provided, this endpoint will instead return the status of the authenticated user. |
request_access_to_team | EXEC | teamId, data__joinedFrom | Request access to a team as a member. An owner has to approve the request. Only 10 users can request access to a team at the same time. |