not possible to update interfaces in POST /api/hosts/:host_id
PUT /api/hosts/:host_idallows to provide
idis not one of the accepted attributes, so it's not possible to update an existing interface using that API (validation fails if one tries, "duplicate identifier"). The same works fine using the dedicated
#3 Updated by Evgeni Golov 8 months ago
As my description seems to be not top notch:
- The API accepts the `id` parameter if it's sent, and then the interface is updated properly
- The API rejects PUTs without `id` which try to refer to an existing interface
- API clients that validate their requests against the apidoc before sending it, will drop the `id` param.