Add or update an interface
Servers
Add or update an interface
Create the interface if the address is new, update it otherwise. Returns the recomputed list of interfaces rather than the single one you sent.
Required scope infrastructure:edit
put
/servers/{id}/interfaces/{ipAddress}Authorizations
AuthorizationstringrequiredAuthorization header carrying a workspace API key, as “Bearer kbn_live_…”. The X-Api-Key header is accepted equivalently.
Path parameters
idstring<uuid>requiredIdentifier of the server.
ipAddressstringrequiredIP address of the interface.
Bodyapplication/json
primarybooleanWhether this becomes the primary interface.
networkIdstring<uuid>Network to attach the interface to.
Response200 · application/json
The interfaces after the change.
ipAddressstringrequiredIP address carried by the interface.
primarybooleanrequiredWhether this is the primary interface of the server.
networkobject | nullNetwork the interface is attached to.