Skip to main content

request

Overview

Namerequest
TypeResource
Idvercel.teams.request

Fields

NameDatatypeDescription
accessRequestedAtnumberTimestamp in milliseconds when the user requested access to the team.
bitbucketobjectMap of the connected Bitbucket account.
confirmedbooleanCurrent status of the membership. Will be true if confirmed, if pending it'll be false.
githubobjectMap of the connected GitHub account.
gitlabobjectMap of the connected GitLab account.
joinedFromobjectA map that describes the origin from where the user joined.
teamNamestringThe name of the team.
teamSlugstringThe slug of the team.

Methods

NameAccessible byRequired ParamsDescription
get_team_access_requestSELECTteamId, userIdCheck 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_teamEXECteamId, data__joinedFromRequest 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.