# Revoke approval

Source: https://docs.settlemint.com/docs/operators/system-addons/xvp-settlement/actions/revoke-approval
Revoke your approval from an XvP settlement.
The platform returns your locked assets to your wallet.




If you approved an XvP settlement and the settlement has not crossed its revocation point, you can revoke your approval. DALP queues a `revokeApproval` transaction, removes your approval, and returns the assets locked by your approval to your wallet.

## When you can revoke [#when-you-can-revoke]

Whether you can revoke depends on whether the settlement has external flows.

| Settlement mode                     | Revocation available                                                                | Revocation blocked                                                                          |
| ----------------------------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- |
| Local settlement                    | Before execution and before expiry, including after all local senders have approved | After execution, cancellation, expiry, or expiry withdrawal                                 |
| HTLC settlement with external flows | While the settlement is still pending approval and before expiry                    | After every sender has approved, including armed or secret-revealed states, or after expiry |

<Callout type="info" title="Revocation point">
  You can still revoke a local settlement after all senders have approved. DALP has not yet committed an external leg.
  For an HTLC settlement with external flows, revocation closes once every sender has approved, even if a sender has already
  published the secret.
</Callout>

## Prerequisites [#prerequisites]

* You previously approved the settlement with the wallet you are using now.
* The settlement is still open and before its expiry cutoff. The platform blocks revocation for executed, cancelled, expired, and withdrawn expired settlements.
* For HTLC settlements with external flows, the settlement is not fully approved yet.

## Steps [#steps]

Check the prerequisites section before you start. HTLC settlements block revocation once every sender has approved, so verify the settlement state first.

<Steps>
  <Step>
    ### Open the settlement [#open-the-settlement]

    Navigate to **Settlements** and find the settlement where you want to revoke approval. Check the status column to confirm the settlement is still open before proceeding.
  </Step>

  <Step>
    ### Revoke your approval [#revoke-your-approval]

    Click **Revoke Approval** from the settlement menu. DALP asks for wallet verification before it queues the revocation transaction. The button is only visible if you are a listed sender and the settlement is still in a revocable state.
  </Step>

  <Step>
    ### Wait for confirmation [#wait-for-confirmation]

    DALP shows whether the platform accepted the revocation. Refresh the settlement detail page before treating the tokens as available again. The status update may take a moment to reflect on-chain confirmation.
  </Step>

  <Step>
    ### Verify asset return [#verify-asset-return]

    After the transaction confirms, your approval status returns to unapproved and your locked assets return to your wallet. If your approval was the last one needed, the settlement also loses its fully-approved state.
  </Step>
</Steps>

## What happens after revocation [#what-happens-after-revocation]

After the transaction confirms, your locked assets return to your wallet. Your approval status resets to unapproved. Other parties keep their own approvals. You can re-approve later if the settlement is still open.

## Troubleshooting [#troubleshooting]

| Issue                     | Solution                                                                                                   |
| ------------------------- | ---------------------------------------------------------------------------------------------------------- |
| Revoke button not visible | Check that you are an involved sender and that the settlement is still open and before expiry              |
| Revoke button disabled    | You may not have an active approval, or all senders on an HTLC settlement have already approved            |
| Transaction fails         | Refresh the settlement, then check that it was not executed, cancelled, expired, withdrawn, or fully armed |

## Next steps [#next-steps]

After revoking, you can re-approve if the settlement is still open. To exit the trade entirely, coordinate with the other parties to cancel it.

<Cards>
  <Card title="Cancel settlement" href="/docs/operators/system-addons/xvp-settlement/actions/cancel">
    Cancel the settlement if you and the other parties decide not to proceed.
  </Card>

  <Card title="Approve flows" href="/docs/operators/system-addons/xvp-settlement/actions/approve">
    How to approve your flows again after revoking. The settlement must still be open and in a revocable state for you to re-approve.
  </Card>
</Cards>

## Related [#related]

* [XvP settlement overview](/docs/operators/system-addons/xvp-settlement/overview)
* [Cancel settlements](/docs/operators/system-addons/xvp-settlement/actions/cancel)
