Homepage

customizations_delete_all

Last edit: Nov 10, 2026

Deletes all legacy models of a model schema, or of all schemas, and returns their count. Deprecated, use records instead

customizations_delete_all(
  all_custom_model_types: Boolean
  all_model_schemas: Boolean
  custom_model_type_name: String
  filter: ModelsFilterInput
  model_schema_name: String
  sync: Boolean
): ObjectCount!

Arguments

all_custom_model_types (Boolean)

Deprecated, use all_model_schemas

all_model_schemas (Boolean)

Set to true to delete models of every model schema

custom_model_type_name (String)

Deprecated, use model_schema_name

filter (ModelsFilterInput)

Conditions the deleted models must match

model_schema_name (String)

Name of the model schema whose models are deleted

sync (Boolean)

When true, the deletion finishes before the mutation returns instead of in a background job

Type

ObjectCount

Result of a bulk operation

Questions?

We are always happy to help with any questions you may have.

contact us