Api call (Rest IP) -> "make this the primary ip for the device/vm" in IP address (select/unselect) #10086

Closed
opened 2025-12-29 21:26:43 +01:00 by adam · 2 comments
Owner

Originally created by @lavazza2017 on GitHub (Aug 13, 2024).

Originally assigned to: @arthanson on GitHub.

NetBox version

v4.0.8

Feature type

Change to existing functionality

Proposed functionality

select or unselect (default) via api call "make this the primary ip for the device/vm" in IP address
I didn't find any possibility to send api call (post) to change this state.

Use case

Most of my and most likely people need this selection

Database changes

No response

External dependencies

No response

Originally created by @lavazza2017 on GitHub (Aug 13, 2024). Originally assigned to: @arthanson on GitHub. ### NetBox version v4.0.8 ### Feature type Change to existing functionality ### Proposed functionality select or unselect (default) via api call "make this the primary ip for the device/vm" in IP address I didn't find any possibility to send api call (post) to change this state. ### Use case Most of my and most likely people need this selection ### Database changes _No response_ ### External dependencies _No response_
adam added the type: featurestatus: revisions needed labels 2025-12-29 21:26:43 +01:00
adam closed this issue 2025-12-29 21:26:43 +01:00
Author
Owner

@arthanson commented on GitHub (Aug 14, 2024):

@lavazza2017 can you please provide more detail about what you are wanting?

Unfortunately, the information you have provided does not constitute an actionable feature request. Per our contributing guide, a feature request must include a thorough description of the proposed functionality, including any database changes, new views or API endpoints, and so on. It must also include a detailed use case justifying its implementation. If you would like to elaborate on your proposal, please modify your post above. If sufficient detail is not added, this issue will be closed.

@arthanson commented on GitHub (Aug 14, 2024): @lavazza2017 can you please provide more detail about what you are wanting? Unfortunately, the information you have provided does not constitute an actionable feature request. Per our [contributing guide](https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md), a feature request must include a thorough description of the proposed functionality, including any database changes, new views or API endpoints, and so on. It must also include a detailed use case justifying its implementation. If you would like to elaborate on your proposal, please modify your post above. If sufficient detail is not added, this issue will be closed.
Author
Owner

@lavazza2017 commented on GitHub (Aug 14, 2024):

Hmm, sorry, I'm not so technically savvy that I could give you everything on a plate :(

The description is pretty clear. But I'll try again in other words.

I make all entries to Netbox automatically through the API call Post
https://demo.netbox.dev/api/ipam/ip-addresses/. All options are there "Tenant", "Interface" etc. and everything I can add, unfortunately I didn't find the option like in the topic "make this the primary ip for the device/vm" I also added a screenshot of what the option looks like from the gui.
image

I'm sorry I don't know how to add an option to the database or to the rest ip, I'm just an ordinary user who uses the available options. And here one is missing, so I initiated adding it

@lavazza2017 commented on GitHub (Aug 14, 2024): Hmm, sorry, I'm not so technically savvy that I could give you everything on a plate :( The description is pretty clear. But I'll try again in other words. I make all entries to Netbox automatically through the API call Post https://demo.netbox.dev/api/ipam/ip-addresses/. All options are there "Tenant", "Interface" etc. and everything I can add, unfortunately I didn't find the option like in the topic "make this the primary ip for the device/vm" I also added a screenshot of what the option looks like from the gui. ![image](https://github.com/user-attachments/assets/7a69f584-382b-4919-8589-fd471ae4291e) I'm sorry I don't know how to add an option to the database or to the rest ip, I'm just an ordinary user who uses the available options. And here one is missing, so I initiated adding it
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10086