Skip to content

docs(netbox): clarify v1/v2 API token header formats - #46

Merged
michaelelrom merged 3 commits into
itential:mainfrom
michaelelrom:docs/netbox-v2-token-readme
Jul 27, 2026
Merged

docs(netbox): clarify v1/v2 API token header formats#46
michaelelrom merged 3 commits into
itential:mainfrom
michaelelrom:docs/netbox-v2-token-readme

Conversation

@michaelelrom

Copy link
Copy Markdown
Collaborator

Summary

  • The Integration Configuration section only showed Authorization: Token <token>, which reads as the only supported auth format.
  • NetBox 4.6+ issues v2 tokens by default, used as Authorization: Bearer <key>.<token> — v1 tokens (Authorization: Token <token>) are deprecated as of 4.6 and removed in 5.0.
  • The OpenAPI spec's tokenAuth securityScheme description already documents both formats correctly; the README just never got updated to match.

Test plan

  • Verified against the actual tokenAuth securityScheme description in OpenAPIs/netbox-latest.json (already correct, used as the source for this wording)
  • Confirmed against NetBox's own API Tokens UI (v1 token shows Authorization: Token <TOKEN>; v2 token shows Authorization: Bearer nbt_<key>.<TOKEN>)
  • Doc-only change, no other content modified

mikeelrom and others added 3 commits July 27, 2026 17:16
The Integration Configuration section only showed the legacy
Authorization: Token <token> example, which reads as the only
supported format. NetBox 4.6+ issues v2 tokens by default, used as
Authorization: Bearer <key>.<token> — the OpenAPI spec's tokenAuth
securityScheme already documents both; the README didn't.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Clarifies that the Authorization scheme prefix (Bearer/Token) belongs
inside the single tokenAuth.value field in Admin Essentials, not split
out separately, with a worked example for each token version.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Already covered generically in the root README's Getting Started
section.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@michaelelrom
michaelelrom merged commit 95c3ef2 into itential:main Jul 27, 2026
@michaelelrom
michaelelrom deleted the docs/netbox-v2-token-readme branch July 27, 2026 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants