Delete training
- Print
- PDF
Delete training
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
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
The following describes the request format for the endpoint. The request format is as follows:
Method | URI |
---|---|
DELETE | /v2/tasks/{taskId} |
Request headers
The following describes the request headers.
Field | Required | Description |
---|---|---|
X-NCP-APIGW-TIMESTAMP | Required | This is the number of milliseconds that have elapsed since January 1, 1970 00:00:00 UTC
|
X-NCP-IAM-ACCESS-KEY | Required | Access key issued on the NAVER Cloud Platform portal or Sub Account service |
X-NCP-APIGW-SIGNATURE-V2 | Required | Base64-encoded signature that encrypts the request path and headers with a secret key that maps to the access key, using the HMAC encryption algorithm (HmacSHA256)
|
X-NCP-CLOVASTUDIO-REQUEST-ID | Optional | Request ID for the request |
Content-Type | Required | Request data format
|
Request path parameters
The following describes the request path parameters.
Field | Type | Required | Description |
---|---|---|---|
taskId | String | Required | Training ID
|
Request example
The following is a sample request.
curl --location --request DELETE 'https://clovastudio.apigw.ntruss.com/tuning/v2/tasks/{taskId}' \
--header 'X-NCP-APIGW-TIMESTAMP: {Timestamp}' \
--header 'X-NCP-IAM-ACCESS-KEY: {Access Key}' \
--header 'X-NCP-APIGW-SIGNATURE-V2: {API Gateway Signature}' \
--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 example
The following is a sample example.
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?