Delete a card
DELETE
/v1/cards/{cardId}Authorization
AuthorizationBearer token (OAuth access token or teakapi_ API key) · headerrequiredBearer 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
cardIdstringrequiredResponses
204Card deleted
Request
curl -X DELETE "https://teakvault.com/api/v1/cards/string" \
-H "Authorization: Bearer YOUR_TOKEN"const response = await fetch("https://teakvault.com/api/v1/cards/string", {
method: "DELETE",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
}
});import requests
response = requests.delete(
"https://teakvault.com/api/v1/cards/string",
headers={
"Authorization": "Bearer YOUR_TOKEN"
},
)Response
Card deleted