Set Primary Domain
kinsta.domains.set-primarySet the primary domain for a Kinsta environment by specifying the environment ID and the domain ID. This defines which domain is considered the main one for the site.
Instructions
Set the primary domain for an environment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env_id | Yes | The environment ID | |
| domain_id | Yes | The domain ID to set as primary |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||