REST API: Why do we need to set the status
field to create a new branch?
#173
Unanswered
LucaNicosia
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'm trying to manager netbox branches using the REST APIs, but when I try to create one (following the example here), I get the following error.
If I instead set this as the body of the request, the branch is created
Since I can set the status, I can also do the following:
which doesn't make sense to me
My question is: there a reason why we would need to set the
status
toready
(or any other status exceptnew
) when creating a new branch? If not, wouldn't be better to force the status to benew
when creating a new branch?Beta Was this translation helpful? Give feedback.
All reactions