cURL
curl --request PUT \ --url https://dashboard.getconvoy.io/api/v1/projects/{projectID}/subscriptions/{subscriptionID}/filters/{filterID} \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "body": {}, "event_type": "<string>", "headers": {}, "is_flattened": true }'
{ "message": "<string>", "status": true, "data": { "body": {}, "event_type": "<string>", "headers": {}, "raw_body": {}, "raw_headers": {}, "subscription_id": "<string>", "uid": "<string>" } }
This endpoint updates an existing filter
Project ID
Subscription ID
Filter ID
Updated filter
Body matching criteria (optional)
Type of event this filter applies to (optional)
Header matching criteria (optional)
Whether the filter uses flattened JSON paths (optional)
OK
Show child attributes
Was this page helpful?