Revoke your own Token through the API #81

Open
opened 2026-11-27 16:43:22 -05:00 by bobby · 0 comments
Owner

Part of #73 (spec: #72)

What to build

A Person can kill a leaked Token at once: DELETE /v1/tokens/{id} revokes one of the caller's own Tokens, and the next request with it gets the standard 401.

Acceptance criteria

  • Revoking your own Token returns success, and the Token is rejected on its next use
  • Revoking another Principal's Token returns 404
  • There is still no API to mint Tokens
Part of #73 (spec: #72) ## What to build A Person can kill a leaked Token at once: `DELETE /v1/tokens/{id}` revokes one of the caller's own Tokens, and the next request with it gets the standard `401`. ## Acceptance criteria - [ ] Revoking your own Token returns success, and the Token is rejected on its next use - [ ] Revoking another Principal's Token returns `404` - [ ] There is still no API to mint Tokens
bobby added the ready-for-agent label 2026-11-27 16:43:22 -05:00
bobby added a new dependency 2026-11-27 16:43:22 -05:00
bobby added a new dependency 2026-11-27 16:43:23 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: bobby/hapi#81