Delete Exchange Rate
Removes a single exchange rate. The currency itself is not affected — only the conversion entry is deleted.
Operation
| Operation | Type | Purpose |
|---|---|---|
deleteAdminSettingsExchangeRate(input:) | Mutation | Delete one exchange rate |
Input
| Field | Required | Notes |
|---|---|---|
id | yes | IRI of the exchange rate to delete. |
Notes
- The returned node is an in-memory snapshot of the just-deleted record — its scalar fields (
_id,targetCurrency,targetCurrencyCode,targetCurrencyName,rate) still resolve so you can confirm exactly which row was removed. - Select
messagefor the success confirmation — it resolves to"Exchange rate deleted successfully."on a successful delete.messageisnullon read / list / create / update; a failed delete returns a top-levelerrors[]entry instead. - Do not select the node's IRI
idfield on this mutation — the IRI cannot be generated for a deleted record and the field resolves with anerrors[]entry. Select_idinstead, as shown. - An unknown id returns
Exchange rate not found.(equivalent to HTTP 404).
Prerequisites
The example uses an illustrative id. Replace it with a rate that exists in your store — use the adminSettingsExchangeRates query to discover valid ids.
Permission: settings.exchange_rates.delete.
TIP
All operations require an admin Bearer token — see Authentication.

