---
title: "Delete an analytics view"
method: DELETE
path: "/analytics/views/{id}"
tags: ["Analytics"]
---

# Delete an analytics view

`DELETE /analytics/views/{id}`

## Request

- Base URL: `https://us.api.flexprice.io/v1`
- URL: `https://us.api.flexprice.io/v1/analytics/views/{id}`
- Auth: API key in header `x-api-key`

Deletes a saved view by ID.

## Path parameters

- `id` string, required

## Response `204`

No Content

## Other responses

- `404`: View not found
- `500`: Server error

## Changes

- **2026-10-25** `4746c65d9396`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/flexprice/apis/flexprice-api/changes/analytics/views/:id/delete.md)

---

[API](https://skmtc.dev/flexprice/apis/flexprice-api.md) - [All operations](https://skmtc.dev/flexprice/apis/flexprice-api/llms.txt) - [OpenAPI document](https://skmtc.dev/flexprice/apis/flexprice-api/revisions/e1348d61034c?raw)
