Skip to main content

invites

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

Overview

Nameinvites
TypeResource
Idvercel.teams.invites

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
delete_team_invite_codedeleteteamId, inviteIdDelete an active Team invite code.

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
inviteIdstringThe Team invite code ID.
teamIdstringThe Team identifier or slug to perform the request on behalf of.

DELETE examples

Delete an active Team invite code.

DELETE FROM vercel.teams.invites
WHERE teamId = '{{ teamId }}' --required
AND inviteId = '{{ inviteId }}' --required
;