Soft-delete a lien
curl --request DELETE \
--url https://www.presolve.com/api/v1/liens/{lienId} \
--header 'X-Idempotency-Key: <x-idempotency-key>' \
--header 'x-api-key: <api-key>'const options = {
method: 'DELETE',
headers: {'X-Idempotency-Key': '<x-idempotency-key>', 'x-api-key': '<api-key>'}
};
fetch('https://www.presolve.com/api/v1/liens/{lienId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://www.presolve.com/api/v1/liens/{lienId}"
headers = {
"X-Idempotency-Key": "<x-idempotency-key>",
"x-api-key": "<api-key>"
}
response = requests.delete(url, headers=headers)
print(response.text){
"success": true
}{
"success": false,
"error": "<string>",
"code": "<string>"
}{
"success": false,
"error": "<string>",
"code": "<string>"
}{
"success": false,
"error": "<string>",
"code": "<string>"
}{
"success": false,
"error": "<string>",
"code": "<string>"
}{
"success": false,
"error": "<string>",
"code": "<string>"
}{
"success": false,
"error": "<string>",
"code": "<string>"
}Billing
Soft-delete a lien
Rejected while check allocations reference the lien.
Requires the billing:write scope. Mutations require an X-Idempotency-Key header (responses are stored for replay; reusing a key with a different request returns 409 IDEMPOTENCY_CONFLICT). Rate tier: write.
DELETE
/
api
/
v1
/
liens
/
{lienId}
Soft-delete a lien
curl --request DELETE \
--url https://www.presolve.com/api/v1/liens/{lienId} \
--header 'X-Idempotency-Key: <x-idempotency-key>' \
--header 'x-api-key: <api-key>'const options = {
method: 'DELETE',
headers: {'X-Idempotency-Key': '<x-idempotency-key>', 'x-api-key': '<api-key>'}
};
fetch('https://www.presolve.com/api/v1/liens/{lienId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://www.presolve.com/api/v1/liens/{lienId}"
headers = {
"X-Idempotency-Key": "<x-idempotency-key>",
"x-api-key": "<api-key>"
}
response = requests.delete(url, headers=headers)
print(response.text){
"success": true
}{
"success": false,
"error": "<string>",
"code": "<string>"
}{
"success": false,
"error": "<string>",
"code": "<string>"
}{
"success": false,
"error": "<string>",
"code": "<string>"
}{
"success": false,
"error": "<string>",
"code": "<string>"
}{
"success": false,
"error": "<string>",
"code": "<string>"
}{
"success": false,
"error": "<string>",
"code": "<string>"
}Authorizations
Org-issued integration API key (service account credential). The plaintext secret is shown once at creation.
Headers
Stable caller-chosen key (max 200 chars) making the mutation safely retryable.
Maximum string length:
200Path Parameters
Lien id