Skip to main content
PATCH
/
waap
/
v1
/
filter-templates
/
{template_id}
Update a filter template
curl --request PATCH \
  --url https://api.gcore.com/waap/v1/filter-templates/{template_id} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "filter_config": {}
}
'
{
  "type": "http-bad-request",
  "title": "Bad Request",
  "status": 400,
  "detail": "Invalid domain name: ''''"
}

Documentation Index

Fetch the complete documentation index at: https://gcore.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

template_id
integer
required

The ID of the filter template

Body

application/json

Payload for partially updating a filter template.

Empty payloads and explicit nulls on mutable fields are rejected with 422.

name
string | null

Human-readable template name

filter_config
Filter Config · object

Arbitrary JSON object storing the frontend filter state

Response

Successful Response