Homepage

admin_asset_delete_all

Last edit: Nov 01, 2026

Deletes (soft-deletes) all assets matching the filter in a background job and
returns scheduled. Already deleted assets are matched too unless the filter excludes them

admin_asset_delete_all(
  filter: MutationAssetsFilterInput!
  hard_delete: Boolean
): String

Arguments

filter (MutationAssetsFilterInput)

Conditions the deleted assets must match

hard_delete (Boolean)

When true, the files are also removed from storage and cannot be recovered. Defaults to false

Type

String

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

Questions?

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

contact us