Files
netbox/netbox/users/api
Martin Hauser 513b11450d Closes #20834: Add support for enabling/disabling Tokens (#20864)
* feat(users): Add support for enabling/disabling Tokens

Introduce an `enabled` flag on the `Token` model to allow temporarily
revoking API tokens without deleting them. Update forms, serializers,
and views to expose the new field.
Enforce the `enabled` flag in token authentication.
Add model, API, and authentication tests for the new behavior.

Fixes #20834

* Fix authentication test

---------

Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
2025-11-26 17:15:14 -05:00
..
2025-10-24 13:08:01 -07:00
2025-10-24 13:08:01 -07:00