---
title: "Delete a conversion goal (stored events are not touched)"
method: DELETE
path: "/projects/{project_id}/analytics/goals/{goal_id}"
tags: ["Conversions"]
---

# Delete a conversion goal (stored events are not touched)

`DELETE /projects/{project_id}/analytics/goals/{goal_id}`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/projects/{project_id}/analytics/goals/{goal_id}`
- Auth: HTTP bearer

## Path parameters

- `project_id` integer, required
- `goal_id` integer, required

## Response `204`

Goal deleted

## Other responses

- `401`: Unauthorized
- `403`: Insufficient permissions
- `404`: Goal not found
- `500`: Internal server error

## Changes

- **2026-11-20** `1a920722ba7e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/projects/:project_id/analytics/goals/:goal_id/delete.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
