Set master switch in Virtual Chassis using API #12744
-
I have a feeling I'm not doing something right. I have a virtual chassis with an ID of 103 and a name of "This-Vc". I have a switch in the same site as the virtual chassis called "This-Sw". I try to do a PATCH to /api/dcim/virtual-chassis/103 with this payload:
I get a 200 response, but it still says "master" is set to null. What gives? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Try setting it to just the device ID of the switch that you want to be master:
|
Beta Was this translation helpful? Give feedback.
-
Ok, I figured it out. I was missing the trailing / in my URL. The payload also needed to be:
|
Beta Was this translation helpful? Give feedback.
Ok, I figured it out. I was missing the trailing / in my URL. The payload also needed to be: