Skip to main content

errand_revoke_user_bind

Revokes the user’s authorization (call this when the user asks to “cancel authorization” or “unbind”). The consent_grant_id is invalidated immediately after revocation. By default the address book and order history are kept and become reachable again after re-binding; pass reset_history=true to retire them instead — after re-binding, the previous address book and order history are no longer visible.

Parameters

Returns

Error Codes

See Error Handling for the full list.

Call Example

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