# Revoke approval

Source: https://docs.settlemint.com/docs/operators/system-addons/xvp-settlement/actions/revoke-approval
Learn how to revoke your approval from an XvP settlement.
Revoking 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]

Revocation depends on whether the settlement has external flows:

| Settlement mode                     | When revocation is available                                                        | When revocation is 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">
  Local settlements can still be revoked after they are fully approved because DALP has not committed an external leg.
  HTLC settlements with external flows cannot be revoked after every sender has approved, even if the secret has already
  been revealed.
</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. Executed, cancelled, expired, and withdrawn expired settlements cannot be revoked.
* For HTLC settlements with external flows, the settlement is not fully approved yet.

## Steps [#steps]

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

    Navigate to **Settlements** and find the settlement where you want to revoke approval.
  </Step>

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

    Click **Revoke Approval** from the settlement actions menu.

    DALP asks for wallet verification before it queues the revocation transaction.
  </Step>

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

    DALP shows whether the revocation request was accepted. Refresh the settlement after confirmation before treating the assets as available again.
  </Step>

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

    After the transaction confirms:

    * Your approval status returns to unapproved
    * Your locked assets return to your wallet
    * The settlement is no longer fully approved if your approval was required for that state
  </Step>
</Steps>

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

* Your locked assets return to your wallet after the transaction confirms
* Your approval status returns to unapproved
* Other parties' approvals are unaffected
* You can approve again later if the settlement is still open and revocation is still allowed
* Other parties may choose to cancel the settlement

## 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 an HTLC settlement may already be fully approved                   |
| Transaction fails         | Refresh the settlement, then check that it was not executed, cancelled, expired, withdrawn, or fully armed |

## Next steps [#next-steps]

<Cards>
  <Card title="Cancel settlement" href="/docs/operators/system-addons/xvp-settlement/actions/cancel">
    How to cancel a settlement entirely.
  </Card>

  <Card title="Approve flows" href="/docs/operators/system-addons/xvp-settlement/actions/approve">
    How to approve your flows again after revoking.
  </Card>
</Cards>

## Related [#related]

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