Skip to content

delete_card

Delete a card. Permanently deletes a card with its steps and notes. This can’t be undone; to put a card aside, move it to Backlog or Done with update_card instead.

Needs scope Read-only Destructive Idempotent
delete No Yes Yes
Argument Type Required Description
board_id integer Yes The board the card is on
number integer Yes The card’s number on that board (not its id)
  • DELETE /boards/{board_id}/cards/{number}.json

The result is the API’s JSON answer as text, or Done. for an answer with no body. A refusal is a tool error carrying the error envelope and the HTTP status.

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"board_id": {
"type": "integer",
"description": "The board the card is on"
},
"number": {
"type": "integer",
"description": "The card's number on that board (not its id)"
}
},
"required": [
"board_id",
"number"
],
"additionalProperties": false,
"type": "object"
}