MENU
      Delete task run
        • PDF

        Delete task run

        • PDF

        Article summary

        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 availabilityRun 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:

        MethodURI
        DELETE/task-runs/{run_id}

        Request headers

        For information about the headers common to all NCLUE APIs, see NCLUE request headers.

        Request path parameters

        You can use the following path parameters with your request:

        FieldTypeRequiredDescription
        run_idStringRequiredRun ID

        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}'
        Shell

        Response

        This section describes the response format.

        Response body

        The response body includes the following data:

        FieldTypeRequiredDescription
        run_idString-Run ID

        Response status codes

        For response status codes common to NCLUE, see NCLUE response status codes.

        Response example

        The response example is as follows:

        {
            "run_id": "f475197f-****-****-****-faf3dd580179"
        }
        JSON

        Was this article helpful?

        Changing your password will log you out immediately. Use the new password to log back in.
        First name must have atleast 2 characters. Numbers and special characters are not allowed.
        Last name must have atleast 1 characters. Numbers and special characters are not allowed.
        Enter a valid email
        Enter a valid password
        Your profile has been successfully updated.