Some errors in documentation about upcoming feature to create a api token #5149

Closed
opened 2025-12-29 19:24:50 +01:00 by adam · 0 comments
Owner

Originally created by @trrunde on GitHub (Aug 5, 2021).

Originally assigned to: @jeremystretch on GitHub.

Change Type

Correction

Area

REST API

Proposed Changes

I believe there is an error in the documentation on the upcoming feature to create a api token
https://netbox.readthedocs.io/en/feature/rest-api/authentication/#initial-token-provisioning

It should be

curl -X POST
-H "Content-Type: application/json"
-H "Accept: application/json; indent=4"
https://netbox/api/users/tokens/provision/ -d
'{
"username": "hankhill",
"password": "I<3C3H8",
}'

Originally created by @trrunde on GitHub (Aug 5, 2021). Originally assigned to: @jeremystretch on GitHub. ### Change Type Correction ### Area REST API ### Proposed Changes I believe there is an error in the documentation on the upcoming feature to create a api token https://netbox.readthedocs.io/en/feature/rest-api/authentication/#initial-token-provisioning It should be curl -X POST \ -H "Content-Type: application/json" \ -H "Accept: application/json; indent=4" \ https://netbox/api/users/tokens/provision/ -d '{ "username": "hankhill", "password": "I<3C3H8", }'
adam added the status: acceptedtype: documentationbeta labels 2025-12-29 19:24:50 +01:00
adam closed this issue 2025-12-29 19:24:50 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5149