Skip to content

Mass Delete Currencies

Deletes several currencies in one call by their numeric ids.

Operation

OperationTypePurpose
createAdminSettingsCurrencyMassDelete(input:)MutationBulk-delete currencies

Notes

  • indices is an array of the numeric ids (_id) to delete. Non-existent ids are silently skipped; an empty array is rejected.
  • deleted returns a plain array of the ids that were removed. Read message to confirm the outcome.
  • The delete guards still apply per id: the last currency and any channel's base currency cannot be removed.
  • Permission: settings.currencies.delete.

All currency operations require an admin Bearer token — see Authentication.

Released under the MIT License.