Skip to content

Delete a card

DELETE/v1/cards/{cardId}
Authorization
AuthorizationBearer token (OAuth access token or teakapi_ API key) · headerrequired

Bearer token. Accepts either an OAuth 2.0 access token (obtained via browser sign-in; expires after 1 hour and is refreshable) or a teakapi_ API key.

Path parameters
cardIdstringrequired
Query parameters
permanentboolean

Permanently remove a card that is already in Trash, and its files, when true; otherwise move the card to Trash.

Responses
204

Card deleted

404

Card not found

409

NOT_IN_TRASH: permanent deletes need the card in Trash first

Try it
Server
Authorization
Parameters
Request
curl -X DELETE 'https://teakvault.com/api/v1/cards/string' \
  -H 'Authorization: Bearer YOUR_TOKEN'
Response
Card deleted

Was this page helpful?