Update a retention filter

PUT {{baseUrl}}/api/v2/apm/config/retention-filters/:filter_id

Update a retention filter from your organization.

Request Body

{"data"=>{"id"=>"<string>", "attributes"=>{"name"=>"<string>", "filter"=>{"query"=>"<string>"}, "enabled"=>"<boolean>", "filter_type"=>"spans-sampling-processor", "rate"=>"<double>"}, "type"=>"apm_retention_filter"}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;data&quot;:{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;type&quot;:&quot;apm_retention_filter&quot;,&quot;attributes&quot;:{&quot;created_at&quot;:&quot;\u003clong\u003e&quot;,&quot;created_by&quot;:&quot;\u003cstring\u003e&quot;,&quot;editable&quot;:&quot;\u003cboolean\u003e&quot;,&quot;enabled&quot;:&quot;\u003cboolean\u003e&quot;,&quot;execution_order&quot;:&quot;\u003clong\u003e&quot;,&quot;filter&quot;:{&quot;query&quot;:&quot;\u003cstring\u003e&quot;},&quot;filter_type&quot;:&quot;spans-sampling-processor&quot;,&quot;modified_at&quot;:&quot;\u003clong\u003e&quot;,&quot;modified_by&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;rate&quot;:&quot;\u003cdouble\u003e&quot;}}}