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

    The following describes the request format for the endpoint. The request format is as follows:

    MethodURI
    DELETE/v2/tasks/{taskId}

    Request headers

    The following describes the request headers.

    FieldRequiredDescription
    X-NCP-APIGW-TIMESTAMPRequiredThis is the number of milliseconds that have elapsed since January 1, 1970 00:00:00 UTC
    • Request is considered invalid if the timestamp differs from the current time by more than 5 minutes
    X-NCP-IAM-ACCESS-KEYRequiredAccess key issued on the NAVER Cloud Platform portal or Sub Account service
    X-NCP-APIGW-SIGNATURE-V2RequiredBase64-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-IDOptionalRequest ID for the request
    Content-TypeRequiredRequest data format
    • application/json

    Request path parameters

    The following describes the request path parameters.

    FieldTypeRequiredDescription
    taskIdStringRequiredTraining 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.

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

    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?

    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.