:DeleteCard()

Deletes a card.

Example usage and parameters:

local BoardID = 'w0j1CQz2'
local ListID = ListsAPI:GetListID(BoardID, 'Example List')

local Card = CardsAPI:GetCardByName(ListID, 'Example Card')
local CardID = Card.id

--[[
    @param CardID string -- The ID of the card.
    @return true or false -- Returns true if successful, and false if failed.
--]]
CardsAPI:DeleteCard(CardID)

print(Card.name)

Last updated