Delete filter API

Deletes a filter.

Request

DELETE _ml/filters/<filter_id>

Prerequisites

Description

This API deletes a filter. If a machine learning job references the filter, you cannot delete the filter. You must update or delete the job before you can delete the filter.

Path parameters

<filter_id>

(Required, string) A string that uniquely identifies a filter.

Examples

  1. DELETE _ml/filters/safe_domains

When the filter is deleted, you receive the following results:

  1. {
  2. "acknowledged": true
  3. }