--- title: "Delete task run" slug: "nclue-deletetaskrun" updated: 2026-09-17T09:35:51Z published: 2026-09-17T09:35:51Z canonical: "api.ncloud-docs.com/nclue-deletetaskrun" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # Delete task run Available in VPC Use this when you want to delete a task model run that you no longer use or that is unnecessary. The deletion conditions for a run are as follows. | Deletion availability | Run status | | --- | --- | | Available | - `registered`: registered - `completed`: available - `failed`: failed | | Unavailable | - `pending`: pending - `in_progress`: creating | Note If the deletion is not possible, you will receive an error message. Try again under conditions where deletion is possible. ## Request This section describes the request format. The method and URI are as follows: | Method | URI | | --- | --- | | DELETE | /task-runs/{run_id} | ### Request headers For information about the headers common to all NCLUE APIs, see [NCLUE request headers](/docs/en/nclue-api-overview#%EC%9A%94%EC%B2%AD%ED%97%A4%EB%8D%94). ### Request path parameters You can use the following path parameters with your request: | Field | Type | Required | Description | | --- | --- | --- | --- | | `run_id` | String | Required | Run ID - See [Get task run list](/docs/en/nclue-gettaskrunlist). | ### Request example The request example is as follows: ``` curl --location --request DELETE 'https://nclue.apigw.ntruss.com/api/v1/task-runs/{run_id}' \ --header 'x-ncp-apigw-timestamp: {Timestamp}' \ --header 'x-ncp-iam-access-key: {Access Key}' \ --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' ``` ## Response This section describes the response format. ### Response body The response body includes the following data: | Field | Type | Required | Description | | --- | --- | --- | --- | | `run_id` | String | - | Run ID | ### Response status codes For response status codes common to NCLUE, see [NCLUE response status codes](/docs/en/nclue-api-overview#%EC%9D%91%EB%8B%B5%EC%83%81%ED%83%9C%EC%BD%94%EB%93%9C). ### Response example The response example is as follows: ``` { "run_id": "f475197f-****-****-****-faf3dd580179" } ```