Delete an exchange rate.
DELETE
/api/exchange-rates/{id}
const url = 'https://api.tradr.cloud/api/exchange-rates/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'DELETE'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://api.tradr.cloud/api/exchange-rates/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0Authed. Removing a rate can leave a currency pair unconvertible for some dates, which surfaces as missingPairs on the dashboard totals.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
Responses
Section titled “Responses”Deleted.
No such exchange rate for this user.