Add --delete parameter to deploy script.
Add method not allowed exception.