Replies: 1 comment
-
|
Hi Andy, Yes, this is supported via the devices API endpoint. To add an existing device as a member of an existing virtual chassis, update the device and set the virtual chassis ID together with the member position, and optionally the priority. For example: PATCH /api/dcim/devices/<device_id>/
Content-Type: application/json{
"virtual_chassis": <virtual_chassis_id>,
"vc_position": 2,
"vc_priority": 100
}If you are creating the device at the same time, you can include the same fields in the You can also check the exact fields supported by your NetBox version in the Swagger UI under Hope that helps! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
Does anyone know, how additional members can be added to an existing virtual-chassis over API?
Or is this not supported?
Best regards,
Andy
Beta Was this translation helpful? Give feedback.
All reactions