---
title: "delete card_diagrams"
method: DELETE
path: "/v1/card_diagrams/{cardDiagramId}.json"
tags: ["card_diagrams"]
---

# delete card_diagrams

`DELETE /v1/card_diagrams/{cardDiagramId}.json`

## Request

- Base URL: `/v1` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/v1/v1/card_diagrams/{cardDiagramId}.json`
- Auth: none declared
- TypeScript: <https://skmtc.dev/restyaplatform/apis/restyaboard/docs/v1/card_diagrams/:cardDiagramId.json/delete.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `cardDiagramId` integer, required

## Query parameters

- `token` string, required

## Response `200`

successful operation

- object
  - `id` integer
  - `created` string
  - `modified` string
  - `name` string
  - `user_id` string
  - `board_id` string
  - `list_id` string
  - `card_id` string
  - `parent_id` string
  - `path` string
  - `version` string

## Other responses

- `405`: Invalid input

## Changes

- **2018-10-11** `5b2c179ca533`: 1 info
  - endpoint added
- **2016-04-27** `5d7a4c3eadce`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/restyaplatform/apis/restyaboard/changes/v1/card_diagrams/:cardDiagramId.json/delete.md)

---

[API](https://skmtc.dev/restyaplatform/apis/restyaboard.md) - [All operations](https://skmtc.dev/restyaplatform/apis/restyaboard/llms.txt) - [OpenAPI document](https://skmtc.dev/restyaplatform/apis/restyaboard/revisions/bfc753befdbe?raw)
