Updating ip-address either does nothing or returns error 400 #21
Unanswered
SaeedFazlollahzadeh
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use something this to connect and update the IP addresses of some servers:
This is my code and up to now I create a list of servers which should be updated. I only need to update their IPs (I added
j4['created']
for testing only).These are the different ways I tried:
But in all of the three above ways, I either receive error 400 bad request (the first for loop), or the netbox change log shows it received a request, but nothing is changed and everything remains as before (the two other ways).
How may I only update the IP address of one or even multiple servers?
Beta Was this translation helpful? Give feedback.
All reactions