import { InviteUserToTeamRequestBody } from "@vercel/sdk/models/inviteusertoteamop.js";
let value: InviteUserToTeamRequestBody = {
uid: "kr1PsOIzqEL5Xg6M4VZcZosf",
email: "[email protected]",
projects: [
{
projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK",
role: "ADMIN",
},
],
};
Field | Type | Required | Description | Example |
---|---|---|---|---|
uid |
string | ➖ | The id of the user to invite | kr1PsOIzqEL5Xg6M4VZcZosf |
email |
string | ➖ | The email address of the user to invite | [email protected] |
role |
models.InviteUserToTeamRole | ➖ | The role of the user to invite | [ "OWNER", "MEMBER", "DEVELOPER", "SECURITY", "BILLING", "VIEWER", "CONTRIBUTOR" ] |
projects |
models.InviteUserToTeamProjects[] | ➖ | N/A |