---
title: "Free fix for a permissions finding: revoke a delegation or cancel a check (unsigned transaction + Xaman request)"
method: POST
path: "/api/permissions/fix"
tags: ["Agents"]
---

# Free fix for a permissions finding: revoke a delegation or cancel a check (unsigned transaction + Xaman request)

`POST /api/permissions/fix`

## Request

- Base URL: `https://www.xrplhub.io`
- URL: `https://www.xrplhub.io/api/permissions/fix`
- Auth: none declared

Body { action: "revoke_delegation", account, delegate } returns a DelegateSet with an empty Permissions list; { action: "cancel_check", account, checkId } returns a CheckCancel. The finding is re-verified on the live ledger first. Free. XRPLHub never signs: the account owner signs in their own wallet.

## Response `200`

{ txjson, uuid, qr_png, deep_link, websocket, free: true }

## Other responses

- `400`: Bad action or address.
- `404`: No such delegation or open check on this account.

---

[API](https://skmtc.dev/xrplhub/apis/xrplhub-xrplscore-and-prebuilt-xrpl-transactions.md) · [All operations](https://skmtc.dev/xrplhub/apis/xrplhub-xrplscore-and-prebuilt-xrpl-transactions/llms.txt) · [OpenAPI document](https://skmtc.dev/xrplhub/apis/xrplhub-xrplscore-and-prebuilt-xrpl-transactions/revisions/a5d4e13aff32?raw)
