This function removes a MIME type from Apache.
Important:
When you disable the WebServer role, the system disables this function.
uapi --output=jsonpretty \ --user=username \ Mime \ delete_mime \ type='text/foo'
{- "apiversion": 3,
- "func": "delete_mime",
- "module": "Mime",
- "result": {
- "data": null,
- "errors": null,
- "messages": null,
- "status": 1,
- "warnings": null
}
}