Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 7.1 KB

updateconnectorrequest.md

File metadata and controls

23 lines (18 loc) · 7.1 KB

UpdateConnectorRequest

Example Usage

import { UpdateConnectorRequest } from "@vercel/sdk/models/updateconnectorop.js";

let value: UpdateConnectorRequest = {
  connector: "<value>",
  teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
  slug: "my-team-url-slug",
  connectUpdateConnectorRequest: {},
};

Fields

Field Type Required Description Example
connector string ✔️ Stable connector ID or URL-encoded team-scoped UID. Examples: scl_abc123 or slack%2Fmy-bot.
teamId string ➖ The team ID that scopes the request. Do not send it with slug. If both are omitted, Vercel uses the team associated with the token or the authenticated user's default team. The request returns 401 if no team can be selected. team_1a2b3c4d5e6f7g8h9i0j1k2l
slug string ➖ The team slug that scopes the request. Do not send it with teamId. If both are omitted, Vercel uses the team associated with the token or the authenticated user's default team. The request returns 401 if no team can be selected. my-team-url-slug
connectUpdateConnectorRequest models.ConnectUpdateConnectorRequest ✔️ N/A