Cancel a parent invite
POST/challenge/cancel-invite
Cancels an in-flight parent-invite challenge before the parent has completed it. Used when the player cancels their pending invite from inside your application while the parent is mid-verification.
On cancel the challenge transitions to FAIL with
failureReason: "cancelled-by-initiator" and any parent currently
viewing the hosted widget sees the "invite canceled" state.
Only CHALLENGE_PARENT_INVITE challenges may be cancelled via this
endpoint.
Request
Responses
- 200
- 400
Cancel invite response
Invalid request - the response body's error field carries a
specific code (e.g. INVALID_INPUT, NOT_FOUND,
FEATURE_DISABLED).