---
title: "Update card"
method: PATCH
path: "/cards/{cardId}"
tags: ["Cards"]
---

# Update card

`PATCH /cards/{cardId}`

Update card - for now, the removal of cancellationDate, authWindowStartDate and authWindowEndDate fields and the update of frequencyUsage field are the only allowed actions

## Path parameters

- `cardId` string, required

## Request body

- union[]
  - union
    - CardAdd — Add field
      - `op` string, required
      - `path` string, required
      - `value` unknown, required
    - CardCopy — Copy field
      - `op` string, required
      - `path` string, required
      - `from` string, required
    - CardMove — Move field
      - `op` string, required
      - `path` string, required
      - `from` string, required
    - CardRemove
      - `op` string, required
      - `path` string, required
    - CardReplace — Replace field
      - `op` string, required
      - `path` string, required
      - `value` unknown, required
    - CardTest — Test field
      - `op` string, required
      - `path` string, required
      - `value` unknown, required

## Response `204`

Card updated successfully

## Other responses

- `400` — Invalid request
- `403` — Forbidden. Token may be missing or invalid

---

[API](https://skmtc.net/modulrfinance/apis/modulr-api.md) · [All operations](https://skmtc.net/modulrfinance/apis/modulr-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/modulrfinance/modulr-api/versions/cbd52524c8ef/schema)
