Updating machines interface vlan id

I’m trying to update the vlan id on a machine’s interface and can’t quite figure out the API call. Am I even close?

Method: put
Endpoint: nodes/{system id}/interfaces/{interface id}
Op: ‘update’
Options: vlan={vlan id}

I’m currently getting this as my return from the API.

Unrecognised signature: method=PUT op=update

Figured it out, I didn’t need to specify: op: ‘update’ in the request, I guess ‘PUT’ makes that redundant.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.