Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 3.56 KB

assignaliasresponsebody.md

File metadata and controls

25 lines (19 loc) · 3.56 KB

AssignAliasResponseBody

The alias was successfully assigned to the deployment

Example Usage

import { AssignAliasResponseBody } from "@vercel/sdk/models/assignaliasop.js";

let value: AssignAliasResponseBody = {
  uid: "2WjyKQmM8ZnGcJsPWMrHRHrE",
  alias: "my-alias.vercel.app",
  created: new Date("2017-04-26T23:00:34.232Z"),
  oldDeploymentId: "dpl_FjvFJncQHQcZMznrUm9EoB8sFuPa",
};

Fields

Field Type Required Description Example
uid string ✔️ The unique identifier of the alias 2WjyKQmM8ZnGcJsPWMrHRHrE
alias string ✔️ The assigned alias name my-alias.vercel.app
created Date ✔️ The date when the alias was created 2017-04-26T23:00:34.232Z
oldDeploymentId string The unique identifier of the previously aliased deployment, only received when the alias was used before dpl_FjvFJncQHQcZMznrUm9EoB8sFuPa