This support article will describe how to resolve 405 HTTP verb error received when using DELETE, PUT or PATCH HTTP methods with a Web API.

Cause of the error is a result of the WebDAV handler conflicting with .NET Core handler.

405 - HTTP verb used to access this page is not allowed.
The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access


  1. Login into Plesk via the Conetix Control Panel.
  2. Once logged into Plesk, navigate and open the Website web.config file.

Recommend to first create a backup of the web.config file before editing.

  1. Find the section <system.webServer> and add the below code under the section and save.
    If the section <modules> and <handlers> already exist, just add the respective lines into the respective sections.

            <remove name="WebDAVModule" />
            <remove name="WebDAV" />
  2. Test to confirm issue has been resolved.
Was this article helpful?

Related Articles