Anchor to section titled 'undefined'

urlRedirectBulkDeleteBySavedSearch
mutation

Requires write_online_store_navigation access scope. Also: Requires an active user.

Asynchronously delete redirects in bulk.


Anchor to savedSearchId
savedSearchId
required

The ID of the URL redirect saved search for filtering.


Was this section helpful?

The asynchronous job removing the redirects.

The list of errors that occurred from executing the mutation.


Was this section helpful?
Hide code
Mutation reference
Copy
mutation urlRedirectBulkDeleteBySavedSearch($savedSearchId: ID!) {
  urlRedirectBulkDeleteBySavedSearch(savedSearchId: $savedSearchId) {
    job {
      # Job fields
    }
    userErrors {
      field
      message
    }
  }
}
Hide code
Input
Copy
{
  "savedSearchId": "gid://shopify/<objectName>/10079785100"
}