cURL
curl --request DELETE \ --url https://api.makeswift.com/v2/sites/{siteId} \ --header 'x-api-key: <api-key>'
{ "object": "error", "code": "forbidden", "message": "<string>" }
Deletes a site.
API key authentication. Accepts either:
The site ID for the site you are deleting.
Site successfully deleted.
Was this page helpful?