Creates a new alias for the deployment with the given deployment ID. The authenticated user or team must own this deployment. If the desired alias is already assigned to another deployment, then it will be removed from the old deployment and assigned to the new one.
Default authentication mechanism
The ID of the deployment the aliases should be listed for
"dpl_FjvFJncQHQcZMznrUm9EoB8sFuPa"
The Team identifier to perform the request on behalf of.
"team_1a2b3c4d5e6f7g8h9i0j1k2l"
The Team slug to perform the request on behalf of.
"my-team-url-slug"
The alias we want to assign to the deployment defined in the URL
"my-alias.vercel.app"
The redirect property will take precedence over the deployment id from the URL and consists of a hostname (like test.com) to which the alias should redirect using status code 307
null
The alias was successfully assigned to the deployment
The unique identifier of the alias
"2WjyKQmM8ZnGcJsPWMrHRHrE"
The assigned alias name
"my-alias.vercel.app"
The date when the alias was created
"2017-04-26T23:00:34.232Z"
The unique identifier of the previously aliased deployment, only received when the alias was used before
"dpl_FjvFJncQHQcZMznrUm9EoB8sFuPa"