Close cards
curl --request PATCH \
--url https://api.finup.io/backend/cards/close \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"card_ids": [
"67c48f6fc8614632e0b338fc"
]
}
'const options = {
method: 'PATCH',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({card_ids: ['67c48f6fc8614632e0b338fc']})
};
fetch('https://api.finup.io/backend/cards/close', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.finup.io/backend/cards/close"
payload = { "card_ids": ["67c48f6fc8614632e0b338fc"] }
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"result": {
"Changed cards": [
"67c48f6fc8614632e0b338fc"
],
"Unchanged cards due to inappropriate status": [
"67c48f6fc8614632e0b558fc"
]
}
}Cards
Close cards
PATCH
/
cards
/
close
Close cards
curl --request PATCH \
--url https://api.finup.io/backend/cards/close \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"card_ids": [
"67c48f6fc8614632e0b338fc"
]
}
'const options = {
method: 'PATCH',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({card_ids: ['67c48f6fc8614632e0b338fc']})
};
fetch('https://api.finup.io/backend/cards/close', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.finup.io/backend/cards/close"
payload = { "card_ids": ["67c48f6fc8614632e0b338fc"] }
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text){
"result": {
"Changed cards": [
"67c48f6fc8614632e0b338fc"
],
"Unchanged cards due to inappropriate status": [
"67c48f6fc8614632e0b558fc"
]
}
}⌘I