Skip to main content

revoke_user_bind

Revokes the current user’s authorization: clears the credential on the binding row so the consent_grant_id used for this call is invalidated immediately. The Agent’s credential is unaffected.
Authorization flow: request_user_bind → verify_user_bind to get consent_grant_id → business calls → revoke_user_bind to revoke. After revocation the consent_grant_id is invalid immediately; to act for this user again, run the bind flow (request_user_bind + verify_user_bind) to mint a NEW consent_grant_id. By default the user’s saved addresses and order history are kept and become reachable again after re-binding the same phone number. When the phone number or device is handed to a different person, pass reset_history: true to retire the binding: after re-binding, the previous addresses and order history are no longer visible.

Parameters

Returns

Error Codes

See Error Handling for the full list.

Example Call

Revoke and retire (previous addresses and order history are not visible after re-binding):