Mass Delete URL Rewrites
Deletes several URL rewrites in one call — the Mass Delete action on the admin Marketing → Search & SEO → URL Rewrites datagrid.
TIP
New here? Read the URL Rewrites overview for what a URL rewrite does and how its fields behave.
Operation
| Operation | Type | Purpose |
|---|---|---|
createAdminMarketingUrlRewriteMassDelete | Mutation | Delete multiple URL rewrites |
Details
- Requires an admin Bearer token and the
marketing.search_seo.url_rewrites.deletepermission. - Pass the numeric rewrite ids in
indices. Non-existent ids are silently skipped (returned inskipped); the ids actually removed are returned indeleted. - An empty or missing
indiceslist returns a422error.
Input fields
| Field | Type | Required | Notes |
|---|---|---|---|
indices | Array | Yes | Non-empty list of numeric rewrite ids to delete |

