Delete Currency
Deletes a single currency by its IRI id.
Operation
| Operation | Type | Purpose |
|---|---|---|
deleteAdminSettingsCurrency(input:) | Mutation | Delete a currency |
Notes
- The returned node is an in-memory snapshot of the just-deleted record — its scalar fields (
_id,code,name,symbol) still resolve so you can confirm what was removed. - Select
messagefor the success confirmation — it resolves to"Currency 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. - Use the
adminSettingsCurrenciesquery to discover a validid. - Permission:
settings.currencies.delete.
Delete guards
The store cannot delete the last currency, and it cannot delete a currency that is set as a channel's base currency. Either condition is rejected before the delete runs.
All currency operations require an admin Bearer token — see Authentication.

