Delete training

Prev Next

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:

Method URI
DELETE /v2/tasks/{taskId}

Request headers

The following describes the request headers.

Field Required Description
Authorization Required API key for authentication <e.g.,> Bearer nv-************
X-NCP-CLOVASTUDIO-REQUEST-ID Optional Request ID for the request
Content-Type Required Request data format
  • application/json

Request path parameters

You can use the following path parameters with your request:

Field Type Required Description
taskId String Required Training 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.

Field Required Description
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.