Creating new prefix via API #1811

Closed
opened 2025-12-29 17:19:19 +01:00 by adam · 1 comment
Owner

Originally created by @vasil166 on GitHub (Jun 25, 2018).

Issue type

[x ] Feature request
[ ] Bug report
[ ] Documentation

Environment

  • Python version: 3.4.3
  • NetBox version: 2.3.2

Description

I am trying to create a new prefix via the API. However I am not able to find any documentation about it. I figured out how to create a child prefix on top of prefix ID, but not how to create a parent prefix. Is there such feature in the API?

Originally created by @vasil166 on GitHub (Jun 25, 2018). ### Issue type [x ] Feature request <!-- An enhancement of existing functionality --> [ ] Bug report <!-- Unexpected or erroneous behavior --> [ ] Documentation <!-- A modification to the documentation --> <!-- Please describe the environment in which you are running NetBox. (Be sure to verify that you are running the latest stable release of NetBox before submitting a bug report.) If you are submitting a bug report and have made any changes to the code base, please first validate that your bug can be recreated while running an official release. --> ### Environment * Python version: 3.4.3 * NetBox version: 2.3.2 ### Description I am trying to create a new prefix via the API. However I am not able to find any documentation about it. I figured out how to create a child prefix on top of prefix ID, but not how to create a parent prefix. Is there such feature in the API?
adam closed this issue 2025-12-29 17:19:19 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jun 25, 2018):

Thank you for your interest in NetBox. GitHub issues are intended for reporting reproducible bugs and requesting features, and must be submitted using the template provided here. For general discussion, questions, or assistance with installation issues, please post to our mailing list.

@jeremystretch commented on GitHub (Jun 25, 2018): Thank you for your interest in NetBox. GitHub issues are intended for reporting reproducible bugs and requesting features, and must be submitted using the template provided [here](https://raw.githubusercontent.com/digitalocean/netbox/develop/.github/ISSUE_TEMPLATE.md). For general discussion, questions, or assistance with installation issues, please post to our [mailing list](https://groups.google.com/forum/#!forum/netbox-discuss).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1811