Deleting an existing integration
API to delete an association for an app and location
DELETE
/
payments
/
custom-provider
/
provider
Deleting an existing integration
curl --request DELETE \
--url https://services.leadconnectorhq.com/payments/custom-provider/provider \
--header 'Version: <version>'const options = {method: 'DELETE', headers: {Version: '<version>'}};
fetch('https://services.leadconnectorhq.com/payments/custom-provider/provider', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://services.leadconnectorhq.com/payments/custom-provider/provider"
headers = {"Version": "<version>"}
response = requests.delete(url, headers=headers)
print(response.text){
"success": "true"
}{
"statusCode": 400,
"message": "Bad Request"
}{
"statusCode": 401,
"message": "Invalid token: access token is invalid",
"error": "Unauthorized"
}{
"statusCode": 422,
"message": [
"Unprocessable Entity"
],
"error": "Unprocessable Entity"
}Last modified on March 8, 2026
Was this page helpful?
Deleting an existing integration
curl --request DELETE \
--url https://services.leadconnectorhq.com/payments/custom-provider/provider \
--header 'Version: <version>'const options = {method: 'DELETE', headers: {Version: '<version>'}};
fetch('https://services.leadconnectorhq.com/payments/custom-provider/provider', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://services.leadconnectorhq.com/payments/custom-provider/provider"
headers = {"Version": "<version>"}
response = requests.delete(url, headers=headers)
print(response.text){
"success": "true"
}{
"statusCode": 400,
"message": "Bad Request"
}{
"statusCode": 401,
"message": "Invalid token: access token is invalid",
"error": "Unauthorized"
}{
"statusCode": 422,
"message": [
"Unprocessable Entity"
],
"error": "Unprocessable Entity"
}