---
title: "Delete one goal"
method: DELETE
path: "/goals/{goal_id}"
tags: ["goals"]
---

# Delete one goal

`DELETE /goals/{goal_id}`

## Request

- Base URL: `https://localhost:8080/api/v9`
- URL: `https://localhost:8080/api/v9/goals/{goal_id}`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/toggl/apis/toggl-api/docs/goals/:goal_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Delete a goal that belongs to the calling user

## Path parameters

- `goal_id` integer, required

## Response `204`

Goal deleted

## Other responses

- `400`: invalid goal ID
- `404`: goal not found for this user
- `500`: Internal Server Error

---

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