Skip to main content
DELETE
/
filter_definitions
/
{id}
Delete a filter definition
curl --request DELETE \
  --url https://api.pocketflows.com/filter_definitions/{id} \
  --header 'Authorization: Basic <encoded-value>'
{
  "id": "<string>",
  "label": "<string>",
  "type": "select",
  "options": [
    {
      "label": "<string>",
      "value": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

The ID of the filter definition

Response

200 - application/json

The created FilterDefinition object

id
string
required

The ID of the filter definition

label
string
required

The label of the filter definition

type
enum<string>
required

The type of the filter definition

Available options:
select,
text,
number,
boolean,
date,
datetime,
currency,
array_of_known
options
The Filter Definition Option object · object[]
required

The options for the select dropdown

I