Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 2.3 KB

createlogdrainrequest.md

File metadata and controls

26 lines (21 loc) · 2.3 KB

CreateLogDrainRequest

Example Usage

import { CreateLogDrainRequest } from "@vercel/sdk/models/createlogdrainop.js";

let value: CreateLogDrainRequest = {
  teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
  slug: "my-team-url-slug",
  requestBody: {
    name: "My first log drain",
    secret: "a1Xsfd325fXcs",
    deliveryFormat: "json",
    url: "https://example.com/log-drain",
  },
};

Fields

Field Type Required Description Example
teamId string The Team identifier to perform the request on behalf of. team_1a2b3c4d5e6f7g8h9i0j1k2l
slug string The Team slug to perform the request on behalf of. my-team-url-slug
requestBody models.CreateLogDrainRequestBody ✔️ N/A