Delete an existing, unlocked, currency exchange rate table by id
1 min
DELETE
https://app.amberflo.io/payments/pricing/amberflo/account-pricing/currencies-exchange-rate
Responses
200
- string
curl
curl --location --request DELETE 'https://app.amberflo.io/payments/pricing/amberflo/account-pricing/currencies-exchange-rate' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'javascript
var myHeaders = new Headers();
myHeaders.append("Accept", "application/json");
myHeaders.append("Content-Type", "application/json");
var requestOptions = {
method: 'DELETE',
headers: myHeaders,
redirect: 'follow'
};
fetch("https://app.amberflo.io/payments/pricing/amberflo/account-pricing/currencies-exchange-rate", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));ruby
require "uri"
require "json"
require "net/http"
url = URI("https://app.amberflo.io/payments/pricing/amberflo/account-pricing/currencies-exchange-rate")
https = Net::HTTP.new(url.host, url.port)
https.use_ssl = true
request = Net::HTTP::Delete.new(url)
request["Accept"] = "application/json"
request["Content-Type"] = "application/json"
response = https.request(request)
puts response.read_body
python
import requests
import json
url = "https://app.amberflo.io/payments/pricing/amberflo/account-pricing/currencies-exchange-rate"
payload = {}
headers = {
'Accept': 'application/json',
'Content-Type': 'application/json'
}
response = requests.request("DELETE", url, headers=headers, data=payload)
print(response.text)
200
// Successful request
""