Speech and Text Analytics DELETE program api returns an error when trying to delete the default program without setting the "forceDelete" query param set to true (status code 400). The error code in this case was changed from "bad.request" to
"deleting.default.program.is.forbidden". The error status code was not changed and remains 400.
This was made to provide a better error message to the end users - an informative code error is better than a general "bad.request"
Each user that uses the service API directly will get a different error response. Before the change: "bad.request" After the change: "deleting.default.program.is.forbidden"
Mar 15, 2022