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
For information about the headers common to all CLOVA Studio APIs, see CLOVA Studio request headers.
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
|
Response body
The response body includes the following data:
| Field | Type | Required | Description |
|---|---|---|---|
status |
Object | - | See Response status. |
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.