Delete training
    • PDF

    Delete training

    • PDF

    Article summary

    Available in Classic and VPC

    Delete a training. This is useful when you want to run new training to get results that are more convergent to your original intended outcome, or when the existing training is no longer needed.

    Request

    This section describes the request format. The method and URI are as follows:

    MethodURI
    DELETE/v2/tasks/{taskId}

    Request headers

    The following describes the request headers.

    FieldRequiredDescription
    AuthorizationRequiredAPI key for authentication <e.g.,> Bearer nv-************
    X-NCP-CLOVASTUDIO-REQUEST-IDOptionalRequest ID for the request
    Content-TypeRequiredRequest data format
    • application/json

    Request path parameters

    You can use the following path parameters with your request:

    FieldTypeRequiredDescription
    taskIdStringRequiredTraining ID

    Request example

    The request example is as follows:

    curl --location --request DELETE 'https://clovastudio.stream.ntruss.com/tuning/v2/tasks/{taskId}' \
    --header 'Authorization: Bearer {API Key}' \
    --header 'Content-Type: application/json' \
    --header 'X-NCP-CLOVASTUDIO-REQUEST-ID: {Request ID}' 
    

    Response

    The following describes the response format.

    Response headers

    The following describes the response headers.

    FieldRequiredDescription
    Content-Type-Response data format
    • application/json

    Response example

    The response example is as follows:

    Succeeded

    The following is a sample response upon a successful call.

    {
      "status": {
        "code": "20000",
        "message": "OK"
      }
    }
    

    Failure

    The following is a sample response upon a failed call.


    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.