Skip to main content

deployments

Overview

Namedeployments
TypeResource
Idvercel.aliases.deployments

Fields

NameDatatypeDescription
aliasstringThe alias name, it could be a .vercel.app subdomain or a custom domain
createdstringThe date when the alias was created
protectionBypassobjectThe protection bypass for the alias
redirectstringTarget destination domain for redirect when the alias is a redirect
uidstringThe unique identifier of the alias

Methods

NameAccessible byRequired ParamsDescription
list_deployment_aliasesSELECTid, teamIdRetrieves all Aliases for the Deployment with the given ID. The authenticated user or team must own the deployment.
_list_deployment_aliasesEXECid, teamIdRetrieves all Aliases for the Deployment with the given ID. The authenticated user or team must own the deployment.
assign_aliasEXECid, teamIdCreates 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.