tokens

Self-cancel by the current holder (requires the verificationCode; no auth header)

The current holder proves possession with the verificationCode and cancels the token. Rejected with 409 policy_cancel_disabled when the location's policy sets holderCancellable=false. Operator cancellation via the authenticated cancel endpoint is always available regardless of this policy. Rate limited like verify (10/min per token per IP).

post/api/rightos/tokens/{tokenId}/holder-cancel

Request

  • Base URL: https://rightos.i-s3.com
  • URL: https://rightos.i-s3.com/api/rightos/tokens/{tokenId}/holder-cancel
  • Auth: none required

Path parameters

tokenIdstring required

Request body

verificationCodestring required

Response

Cancelled token

Example response

{
  "token": {
    "id": "tok_2f8a1c9d3e4b5a6f7081",
    "title": "順番待ち / Queue ticket"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.