deployments
Overview
Name | deployments |
Type | Resource |
Id | vercel.aliases.deployments |
Fields
Name | Datatype | Description |
---|---|---|
alias | string | The alias name, it could be a .vercel.app subdomain or a custom domain |
created | string | The date when the alias was created |
protectionBypass | object | The protection bypass for the alias |
redirect | string | Target destination domain for redirect when the alias is a redirect |
uid | string | The unique identifier of the alias |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list_deployment_aliases | SELECT | id, teamId | Retrieves all Aliases for the Deployment with the given ID. The authenticated user or team must own the deployment. |
_list_deployment_aliases | EXEC | id, teamId | Retrieves all Aliases for the Deployment with the given ID. The authenticated user or team must own the deployment. |
assign_alias | EXEC | id, teamId | 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. |