I am expecting the same problem, with deleting a specific domain. None of the solutions above helped me, i get an Error:
$ plesk bin subdomain -r sub.domain.com
terminate called after throwing an instance of 'swsoft::key::system_error'
what(): open('/etc/sw/keys/lock/.sw-engine-kv.pid')...