Update dashboard filter
PUT {{baseUrl}}/dashboards/filters/:id?aid=1234
Updates an existing dashboard filter in your account group.
Note:
Users with the
Edit dashboard templates for all users in account grouppermission (Account Admin) can update any dashboard filter.Users with the
Edit own dashboard templatespermission (Regular User) can only update the dashboard filters they have created themselves.
Request Params
| Key | Datatype | Required | Description |
|---|---|---|---|
aid | number | A unique identifier associated with your account group. You can retrieve your AccountGroupId from the /account-groups endpoint. Note that you must be assigned to the target account group. Specifying this parameter without being assigned to the target account group will result in an error response. |
Request Body
{"context"=>[{"dataSourceId"=>"VIRTUAL_AGENT", "filters"=>[{"filterId"=>"TEST_LABEL", "metricIds"=>["WEB_PAGE_LOAD_COMPLETION_RATE", "WEB_TTFB", "WEB_AVAILABILITY"], "values"=>["45862", "59749"]}]}], "name"=>"cea-filter", "description"=>"Global filter for CEA widgets"}
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"aid":"11","context":[{"dataSourceId":"VIRTUAL_AGENT","filters":[{"filterId":"TEST_LABEL","metricIds":["WEB_PAGE_LOAD_COMPLETION_RATE","WEB_TTFB","WEB_AVAILABILITY"],"values":["45862","59749"]}]}],"id":"65bc18e8f2073a4a469cd958","name":"cea-filter","description":"Global filter for CEA widgets","createdBy":{"uid":"1","name":"Test User"},"modifiedDate":"2024-02-01T22:19:19Z","createdDate":"2024-02-01T22:19:19Z","modifiedBy":{"uid":"1","name":"Test User"},"_links":{"self":{"href":"https://api.thousandeyes.com/v7/link/to/resource/id","templated":true,"type":"incididunt Ut proident fugiat deserunt","deprecation":"pariatur aute ut mollit","name":"esse id velit","profile":"id nisi ut","title":"eiusmod in","hreflang":"aliqui"}}}