How to clear assigned_object_type and assigned_object_id in IPAddress model using API #16900
Unanswered
AirDRoN-lab
asked this question in
Help Wanted!
Replies: 2 comments 1 reply
-
I've used the But I see another problem - this doesn't change assigned_object_type. |
Beta Was this translation helpful? Give feedback.
1 reply
-
https://demo.netbox.dev/api/schema/swagger-ui/#/ipam/ipam_ip_addresses_partial_update With Netbox version 4.1.4, it works if you set both assigned_object_id and assigned_object_type to null in the same request:
|
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, everyone.
Not sure if this is a bug, but it possible.
Assigned_object_type and assigned_object_id in IPAddress model doesn't clear (set null) through API requests.
How to reproduce:
Feedback from NetBox API:
So, how deassign IP from Device Interface? Need create an issue?
Similar discussion in #11454 but the problem is slightly different
Many thanks!
NetBox version 3.7.1
Beta Was this translation helpful? Give feedback.
All reactions