Skip to content

Mass Delete Locales

Deletes multiple locales in a single request. Ids that can't be deleted (the last locale, or a channel's default locale) are reported under skipped rather than aborting the whole batch; non-existent ids are silently ignored.

Operation

OperationTypePurpose
createAdminSettingsLocaleMassDeleteMutationBulk-delete locales by id

Input

FieldRequiredNotes
indicesyesArray of numeric locale ids to delete. An empty array is rejected (validation error).

Notes

  • Over GraphQL the deleted and skipped fields render as paginated { data, meta } envelopes — the actual id lists live under deleted.data and skipped.data. Read message for the human-readable summary.
  • When a guard blocks an id (last locale or channel default), that id appears in skipped.data with the batch still completing for the rest.

Permissions: settings.locales.delete. See the Locales overview for behaviour.

Released under the MIT License.