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
| Endpoint | Method |
|---|---|
/api/admin/marketing/sitemaps/{id} | DELETE |
Details
- Requires an admin Bearer token and the
marketing.search_seo.sitemaps.deletepermission. - Returns a success message on completion.
- An unknown id returns a
404.

