A pending intent can be rejected to cancel it before it is authorized and executed. Rejecting is useful when an intent was proposed in error or is no longer needed.
To cancel a pending intent, use the reject endpoint:
POST https://api.privy.io/v1/intents/{intent_id}/reject
The endpoint can be called with your app secret or with the intent creator’s user token, and takes no request body.Rejecting an intent moves it to the Rejected status. Rejected intents cannot be authorized or executed in the future.
Only a pending intent can be rejected. An intent that is already in a terminal or Processing
state cannot be rejected.