> ## 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.

# agent-cards cards preset

> Show or set a card's preset (limits & restrictions)

Show or set a card's preset (limits & restrictions)

```bash theme={null}
agent-cards cards preset --help
```

```text theme={null}
Usage: agent-cards cards preset [options] [command] <card-id>

Show or set a card's preset (limits & restrictions)

Arguments:
  card-id                                       Card id

Options:
  --set <name>                                  Preset: a saved or built-in name (see cards preset list)
  --clear                                       Clear the card's preset
  --json                                        Output as JSON
  -h, --help                                    display help for command

Commands:
  list [options]                                List built-in and saved presets
  save [options] <name>                         Save (or update) a named preset from rule flags
  delete [options] <name>                       Delete a saved preset
  allow-merchant [options] <card-id> <pattern>  Remember a merchant on a card so the next matching charge is allowed
```

Pass a card id to see or set that card's rules. A new card takes the rules on its create call. A preset can hold spend caps, categories, merchants, places, currencies, days and hours, and where the card can be used from.

```bash theme={null}
agent-cards cards preset <card-id>             # show one card's rules, remembered merchants included
agent-cards cards preset <card-id> --set office-supplies # pin one card to a saved name (new version)
agent-cards cards preset <card-id> --clear     # stop Agentcard's checks on that card
```

Clear a card and Agentcard's checks on it stop, remembered merchants included. A limit already pushed to the card network stays until you issue a new card.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.