filefilter remove

Removes a file filter.

Syntax

CLI
/opt/mapr/bin/maprcli filefilter remove
         -name filterName
REST
Request Type POST
Request URL
http[s]://<host:port>/rest/filefilter/remove?<parameters>

Parameters

Parameter Description
name Filter to remove.
NOTE
Filters that are attached to volumes cannot be removed. Modify the volumes to remove the filters, before deleting the filters.

Example

Remove filter :

CLI
/opt/mapr/bin/maprcli filefilter remove -name notextjpg -json
{
        "timestamp":1609834952199,
        "timeofday":"2021-01-05 12:22:32.199 GMT-0800 AM",
        "status":"OK",
        "total":0,
        "data":[

        ],
        "messages":[
                "Filter Removed successfully"
        ]
}
REST
curl -k -X POST 'https://abc.sj.us:8443/rest/filefilter/remove?name=notextjpg' --user <username>:<password>
{"timestamp":1609835456331,"timeofday":"2021-01-05 12:30:56.331 GMT-0800 AM","status":"OK","total":0,"data":[],"messages":["Filter Removed successfully"]}