Skip to main content
DELETE
/
saved_filters
/
{saved_filter_token}
Delete saved filter
curl --request DELETE \
  --url https://api.vantage.sh/v2/saved_filters/{saved_filter_token} \
  --header 'Authorization: Bearer <token>'
{
  "token": "<string>",
  "title": "Platform Team Reports",
  "cost_report_tokens": [
    ""
  ],
  "filter": "costs.provider = 'azure'",
  "created_at": "2023-08-04T00:00:00Z",
  "created_by": "<string>",
  "workspace_token": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

saved_filter_token
string
required

Response

SavedFilter model

token
string
title
string

The title of the SavedFilter.

Example:

"Platform Team Reports"

cost_report_tokens
string[]

The tokens for any CostReports the SavedFilter is applied to.

filter
string

The SavedFilter's filter, applied to any relevant CostReports. Additional documentation available at https://docs.vantage.sh/vql.

Example:

"costs.provider = 'azure'"

created_at
string

The date and time, in UTC, the report was created. ISO 8601 Formatted.

Example:

"2023-08-04T00:00:00Z"

created_by
string

The token for the Creator of this SavedFilter.

workspace_token
string

The token for the Workspace the SavedFilter is a part of.