Delete card
curl --request DELETE \
--url https://api.example.com/api/v1/cards/{card_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/api/v1/cards/{card_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/api/v1/cards/{card_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Cards
Delete card
Permanently delete (close) a card by Card UUID. This cannot be undone.
DELETE
/
api
/
v1
/
cards
/
{card_id}
Delete card
curl --request DELETE \
--url https://api.example.com/api/v1/cards/{card_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.example.com/api/v1/cards/{card_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.example.com/api/v1/cards/{card_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Was this page helpful?