set_main_ip
Assign a primary IP address to a server with multiple IPs by specifying server ID, target IP, and the IP to set as main. Confirm the operation to apply changes.
Instructions
Назначить основной IP-адрес сервера (ip/set_main), когда адресов несколько.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID сервера | |
| ip | Yes | IP-адрес | |
| main | Yes | IP-адрес, который станет основным | |
| confirm | Yes | Must be true to run the operation. |