Remove MIME type from web server

This function removes a MIME type from Apache.

Important:

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

SecurityBasicAuth
Request
query Parameters
type
required
string

The MIME type.

Example: type=text/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_mime
Request samples
uapi --output=jsonpretty \
  --user=username \
  Mime \
  delete_mime \
  type='text/foo'
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "delete_mime",
  • "module": "Mime",
  • "result": {
    • "data": null,
    • "errors": null,
    • "messages": null,
    • "status": 1,
    • "warnings": null
    }
}