Delete a website
Deletes a website from Modular DS together with what is attached to it: its settings for Uptime Monitor, backups and the other features, and its scheduled work. This cannot be undone through the API: there is no request to restore a website. A website protected by Patch & Protect or scanned with the Malware Scanner is also removed from the provider of each feature in the background, so it stops counting toward their metered billing, including the premium Malware Scanner tier.
Your role must be allowed to delete the website (a member who cannot manage every website can delete only the websites they created); without it the request answers 404.
Authentication
Personal access token created in the Modular DS dashboard; read-only tokens can only call GET endpoints.
Path parameters
Response
204 - Website deleted
