Withdraws a grant before its lifetime runs out — the operator who issued one from your own panel changed their mind, or the incident it was issued for turned out not to be one.
Reporting FAILED also withdraws a grant, but that records an outcome: the person was put through a
challenge and did not pass it. Use this operation when nothing of the sort happened and you simply want the
bypass gone.
Requires API key authentication:
At least one of subject.visitorId and subject.userAccountId is required. Both are withdrawn when both are
given: a grant issued by a backend that knew only the account is held on the account, and one issued from a
validation event is held on the visitor.
subject.customFields has no effect here. Custom fields narrow which requests a grant releases; they do not
identify the grant, and a revocation that matched them would leave it standing whenever your copy of them had
drifted from what was stored.
Accepted permissions
Project → Challenges → Action → Revoke challenge grantToken scope
Project Action
Personal access token. Create it in your BotBye account under Profile → Personal Access Tokens, tick the scopes the endpoints you call require (see each endpoint’s Token scope), and send the token in the X-Api-Key request header. A token works only for the account it was created in.