Files
ipal-kit/contracts/mail-relay/examples/rotate-previous-token.json
T
Radosław SmolińskiandClaude Fable 5.2 ea9703f8e3 Mail relay: the built-in client for the Intecion Notifications Webservice
Transport, enrolment with the confirm route, token and state in payload-kv, rotation,
the panel's state block, doctor rules, the fake service and the copied contract 1.5.0.
Tests against the contract's runner and the fake. Docs and HTTP tests follow.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
2026-11-25 20:29:46 +01:00

29 lines
509 B
JSON

{
"id": "rotate-previous-token",
"title": "A token that was already replaced cannot rotate",
"given": {
"site": "active",
"token": "previous"
},
"request": {
"method": "POST",
"path": "/v1/rotate",
"headers": {
"authorization": "Bearer {{token}}"
}
},
"response": {
"status": 409,
"schema": "Error",
"body": {
"ok": false,
"code": "already-rotated"
}
},
"client": {
"retry": false,
"reEnrol": false,
"status": null
}
}