The alias was successfully assigned to the deployment
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",
};
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 |