Skip to main content
Update the label shown for an existing dashboard or metric filter in an embedded experience. These are end-user plugin APIs: authenticate with a guest token in X-Plugin-Token, not with a Data App API key.
Enable the matching rename permission in params.accessPermissions when you mint the guest token: isAllowDashboardFilterNameChange for dashboard filters or isAllowMetricFilterNameChange for metric filters.

Endpoints

Cloud Databrain

Self-hosted Databrain

Authentication

string
required
Guest token generated by the Guest Token API. The token determines the dashboard, metric, workspace, and client scope for the request.
string
required
Must be set to application/json.

Update a dashboard filter alias

string
required
Dashboard identifier. The API accepts the dashboard’s internal UUID or its external dashboard ID.
string
required
Case-insensitive dashboard filter key in the form tableName.columnName, for example public.sales_data.region. The filter must already exist and must not be a client-created dashboard filter.
string
required
New label for the filter. Leading and trailing whitespace is removed and the trimmed value can be at most 100 characters. Send an empty string to clear the alias.
cURL

Update a metric filter alias

string
required
Metric identifier. The API accepts the metric’s internal UUID or metric ID.
string
required
Case-insensitive metric filter key in the form tableName.columnName, for example public.sales_data.region. The filter must already exist.
string
required
New label for the filter. Leading and trailing whitespace is removed and the trimmed value can be at most 100 characters. Send an empty string to clear the alias.
cURL

Response

Both endpoints return the updated alias in the data object:
When alias is an empty string, the endpoint removes the stored alias and returns:

Status codes