Remove web server MIME type handler

This function deletes an Apache MIME type handler.

Important:

When you disable the WebServer role, the system disables this function.

SecurityBasicAuth
Request
query Parameters
extension
required
string

The file extension.

Example: extension=.foo
Responses
200

HTTP Request was successful.

Response Schema: application/json
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object
get/Mime/delete_handler
Request samples
uapi --output=jsonpretty \
  --user=username \
  Mime \
  delete_handler \
  extension='.foo'
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "delete_handler",
  • "module": "Mime",
  • "result": {
    • "data": null,
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}