add_project_domain
Attach a domain to a Vercel project. Optionally set a redirect or bind to a specific git branch.
Instructions
Attach a domain to a project. Optionally set a redirect or assign it to a specific git branch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | Project id or name. | |
| name | Yes | Domain to attach, e.g. www.example.com. | |
| gitBranch | No | Bind to a preview git branch. | |
| redirect | No | Redirect target domain. | |
| redirectStatusCode | No | 301/302/307/308. | |
| 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). |