Skip to content

Delete URL Rewrite

Deletes a URL rewrite — the Delete row action on the admin Marketing → Search & SEO → URL Rewrites screen.

TIP

New here? Read the URL Rewrites overview for what a URL rewrite does and how its fields behave.

Endpoint

EndpointMethod
/api/admin/marketing/url-rewrites/{id}DELETE

Details

  • Requires an admin Bearer token and the marketing.search_seo.url_rewrites.delete permission.
  • Returns a success message on completion.
  • An unknown id returns a 404.

Released under the MIT License.