Delete site
The site:delete command allows you to delete a site from a server.
ploi site:delete
Delete a specific site:
ploi site:delete --server=blue-ocean --site=example.com
To skip the confirmation prompt, use the --force flag:
ploi site:delete --server=blue-ocean --site=example.com --force
Warning: This action is irreversible. All site files and configurations will be permanently deleted. Without the --force flag, you will be asked to type the site domain to confirm deletion.
Options
| Option | Description |
|---|---|
--server= | The server name or ID |
--site= | The site domain to delete |
--force | Skip the confirmation prompt |