assign_alias
Assign a hostname alias to a deployment, pointing a custom URL at it. Optionally set a redirect.
Instructions
Assign an alias (hostname) to a deployment — points the custom URL at that deployment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deploymentId | Yes | Deployment id (dpl_...) to alias. | |
| alias | Yes | Hostname to assign, e.g. app.example.com. | |
| redirect | No | Optional redirect target. | |
| teamId | No | Team ID to scope the request. Falls back to VERCEL_TEAM_ID when omitted. | |
| slug | No | Team slug to scope the request (alternative to teamId). |