---
title: "Abandon the agent wallet's in-flight intent (releases the lock)"
method: POST
path: "/v1/policy/cancel-intent"
tags: ["Wallet Policy"]
---

# Abandon the agent wallet's in-flight intent (releases the lock)

`POST /v1/policy/cancel-intent`

## Request

- Base URL: `https://api.prod.keyban.io`
- URL: `https://api.prod.keyban.io/v1/policy/cancel-intent`
- Auth: API key in header `X-Api-Key`

## Request body

- CancelIntentDto
  - `intentId` string, uuid, required: UUID of the in-flight intent the agent wants to abandon

## Response `200`

---

[API](https://skmtc.dev/keyban/apis/keyban-rest-apis.md) · [All operations](https://skmtc.dev/keyban/apis/keyban-rest-apis/llms.txt) · [OpenAPI document](https://skmtc.dev/keyban/apis/keyban-rest-apis/revisions/0bb79a1da961?raw)
