---
updatedAt: 2026-06-15T14:45:23.000Z
agentTools:
  projectIndex: https://developers.lokalise.com/llms.txt
---

# Delete a task

Deletes a task from the project. Requires *Manage tasks* admin right.

Requires <code>write_tasks</code> OAuth access scope.

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Default projects",
    "version": "1.0.0",
    "description": "Describes the API for default projects.\\n\\n**Project Type Compatibility**: Many API endpoints have different compatibility with project types:\\n- **Software projects** (localization_files) - Support individual key management, no file deletion\\n- **Documents projects** (paged_documents) - Support file management, no individual key operations\\n- **Marketing projects** (content_integration, marketing, marketing_integrations) - Mixed support depending on specific type\\n\\nBranching is only supported for Software projects. See individual endpoint documentation for specific compatibility information."
  },
  "servers": [
    {
      "url": "https://api.lokalise.com/api2"
    }
  ],
  "paths": {
    "/projects/{project_id}/tasks/{task_id}": {
      "delete": {
        "responses": {
          "200": {
            "description": "OK",
            "headers": {},
            "content": {
              "application/json": {
                "example": {
                  "project_id": "3002780358964f9bab5a92.87762498",
                  "task_deleted": true
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "project_id": {
                      "type": "string"
                    },
                    "task_deleted": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          }
        },
        "summary": "Delete a task",
        "operationId": "Delete a task",
        "description": "Deletes a task from the project. Requires *Manage tasks* admin right.\n\nRequires <code>write_tasks</code> OAuth access scope.",
        "tags": [
          "Tasks"
        ],
        "parameters": [
          {
            "name": "project_id",
            "in": "path",
            "description": "A unique project identifier",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "task_id",
            "in": "path",
            "description": "A unique task identifier.",
            "required": true,
            "schema": {
              "type": "number"
            }
          }
        ]
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Api-Token"
      }
    }
  },
  "security": [
    {
      "ApiKeyAuth": []
    }
  ]
}
```