Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 2.54 KB

deletedeploymentrequest.md

File metadata and controls

23 lines (18 loc) · 2.54 KB

DeleteDeploymentRequest

Example Usage

import { DeleteDeploymentRequest } from "@vercel/sdk/models/deletedeploymentop.js";

let value: DeleteDeploymentRequest = {
  id: "dpl_5WJWYSyB7BpgTj3EuwF37WMRBXBtPQ2iTMJHJBJyRfd",
  url: "https://files-orcin-xi.vercel.app/",
  teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l",
  slug: "my-team-url-slug",
};

Fields

Field Type Required Description Example
id string ✔️ The ID of the deployment to be deleted dpl_5WJWYSyB7BpgTj3EuwF37WMRBXBtPQ2iTMJHJBJyRfd
url string A Deployment or Alias URL. In case it is passed, the ID will be ignored https://files-orcin-xi.vercel.app/
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