post https://api.linode.com//linode/instances//configs//interfaces
Creates and appends a single Interface to the end of the interfaces
array for an existing Configuration Profile.
- The User accessing this operation must have
read_write
grants to the Linode. - A successful request triggers a
linode_config_update
event. - If the new Interface is added with
"primary": true
, then any existing primary Interface is changed to"primary": false
.
Reboot the Linode with this Configuration Profile to activate an Interface that was added with this operation.
linode-cli linodes config-interface-add $linodeId $configId \
--purpose vpc \
--primary false \
--subnet_id 101 \
--ipv4.vpc "10.0.1.2" \
--ipv4.nat_1_1 "203.0.113.2"
<https://www.linode.com/docs/products/tools/cli/get-started/>
linodes:read_write
<https://techdocs.akamai.com/linode-api/reference/get-started#oauth>