---
title: "Edit a test card (label, note) or deactivate it"
method: PATCH
path: "/admin/self-billing/test-cards/{id}"
tags: ["Admin Self-Billing"]
---

# Edit a test card (label, note) or deactivate it

`PATCH /admin/self-billing/test-cards/{id}`

A deactivated card stays registered but stops classifying charges — its volume drops out of the report.

## Path parameters

- `id` string, required

## Response `200`

---

[API](https://skmtc.dev/miaai/apis/backend-template-api.md) · [All operations](https://skmtc.dev/miaai/apis/backend-template-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/miaai/backend-template-api/revisions/2a8d88a5124f/schema)
