- Plesk Onyx
Unable to remove a domain by marking the checkbox and pressing the Remove button via Plesk > Domains:
due to the following error:
PLESK_ERROR: Error: Permission denied to remove domain ID
Remove the domain using one of the following ways:
via Graphical User Interface (GUI):
Go to Plesk > Domains > example.com.
Click the Remove Website button:
Note: If no such button is presented then this domain is the main domain of the corresponding subscription, and it can be removed only with the subscription together.
Warning: subscription removing will delete all domains assigned to this subscription.
Go to Plesk > Subscriptions > example.com > Websites & Domains and press the Remove Subscription button:
via Command Line Interface (CLI):
Connect to the server via SSH.
Execute the following command to remove the domain
example.comthe command below to the required domain name.
# plesk bin domain --remove example.com