# Revoke approval

Source: https://docs.settlemint.com/docs/user-guides/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've approved a settlement but need to back out, you can revoke your approval. Revocation rules differ between local and HTLC settlements. Revoking returns your locked assets to your wallet.

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

Revocation rules differ by settlement type:

**Local settlements:**

| Settlement state           | Can revoke? |
| -------------------------- | ----------- |
| Pending (not all approved) | Yes         |
| Ready (all approved)       | Yes         |
| Executed                   | No          |
| Cancelled                  | N/A         |
| Expired                    | N/A         |

**HTLC settlements:**

| Settlement state           | Can revoke? |
| -------------------------- | ----------- |
| Pending (not all approved) | Yes         |
| Armed (all approved)       | No          |
| Executed                   | No          |
| Cancelled                  | N/A         |
| Expired                    | N/A         |

<Callout type="info" title="Revocation rules">
  **Local settlements:** You can revoke at any time before execution, even after the settlement becomes Ready (fully approved).

  **HTLC settlements:** You can only revoke before the settlement becomes Armed. Once all senders have approved (Armed state), revocation is not allowed.
</Callout>

## Prerequisites [#prerequisites]

* You have previously approved the settlement
* For local settlements: Settlement has not been executed
* For HTLC settlements: Settlement is still in Pending state (not all senders have 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** on the settlement detail page.

    Confirm the action and authenticate with your PIN or OTP.
  </Step>

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

    After the transaction confirms:

    * Your approval status returns to "Pending"
    * Your locked assets are returned to your wallet
    * The settlement approval count decreases
  </Step>
</Steps>

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

* Your assets are immediately returned to your wallet
* Your approval status returns to unapproved
* The settlement approval count decreases
* Other parties' approvals are unaffected
* You can approve again later if you change your mind
* Other parties may choose to cancel the settlement

## Troubleshooting [#troubleshooting]

| Issue                     | Solution                                                                            |
| ------------------------- | ----------------------------------------------------------------------------------- |
| Revoke button not visible | For HTLC: Settlement may be Armed. For local: Settlement may be executed or expired |
| Revoke button disabled    | You may not have an active approval on this settlement                              |
| Transaction fails         | Check that the settlement hasn't been executed, cancelled, or (for HTLC) Armed      |

## Next steps [#next-steps]

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

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

## Related [#related]

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