Skip to content

Delete Sitemap

Deletes a sitemap — the Delete row action on the admin Marketing → Search & SEO → Sitemaps screen. Removing a sitemap also deletes its generated XML files.

TIP

New here? Read the Sitemaps overview for what a sitemap does and how its fields behave.

Endpoint

EndpointMethod
/api/admin/marketing/sitemaps/{id}DELETE

Details

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

Released under the MIT License.