> ## Documentation Index
> Fetch the complete documentation index at: https://docs.agentcard.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# remove_attached_card

> Remove (unenroll) one of the user's attached cards

Removes (unenrolls) one of the user's attached cards. Irreversible for that enrollment: any virtual cards minted against it are closed first, then the card is unenrolled at the network. **Always confirm with the user before calling.** Get ids from [list\_attached\_cards](/companies/mcp/tools/list_attached_cards); the user can re-attach the same card later with [attach\_card](/companies/mcp/tools/attach_card).

## Parameters

| Parameter          | Type   | Required | Description                                                 |
| ------------------ | ------ | -------- | ----------------------------------------------------------- |
| `attached_card_id` | string | Yes      | The attached-card id to remove (from `list_attached_cards`) |

## Returns

A confirmation with the removed `id`, `status: "revoked"`, and `closedCards`, the number of virtual cards minted against it that were closed. An unknown id returns `status: "not_found"` (call `list_attached_cards` for current ids); if removal is temporarily unavailable you get `status: "retry"` with the enrollment unchanged.

## Example

```json theme={null}
{ "name": "remove_attached_card", "arguments": { "attached_card_id": "cc_abc123" } }
```
