---
title: "DeleteTask"
method: POST
path: "/gitpod.v1.EnvironmentAutomationService/DeleteTask"
tags: ["gitpod.v1.EnvironmentAutomationService"]
---

# DeleteTask

`POST /gitpod.v1.EnvironmentAutomationService/DeleteTask`

Deletes an automation task.

 Use this method to:
 - Remove unused tasks
 - Clean up task configurations
 - Delete obsolete automations

 ### Examples

 - Delete task:

   Removes a task and its configuration.

   ```yaml
   id: "d2c94c27-3b76-4a42-b88c-95a85e392c68"
   ```

## Request body

- GitpodV1DeleteTaskRequest
  - `id` string, uuid

## Response `200`

Success

- GitpodV1DeleteTaskResponse

## Other responses

- `default` — Error

---

[API](https://skmtc.net/gitpod-io/apis/gitpod-v1.md) · [All operations](https://skmtc.net/gitpod-io/apis/gitpod-v1/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gitpod-io/gitpod-v1/versions/44d50c2ac284/schema)
