Deleting a Training Job
Function
This API is used to delete a training job.
URI
DELETE /v2/{project_id}/training-jobs/{training_job_id}
| 
        Parameter  | 
      
        Mandatory  | 
      
        Type  | 
      
        Description  | 
     
|---|---|---|---|
| 
        project_id  | 
      
        Yes  | 
      
        String  | 
      
        Project ID. For details, see Obtaining a Project ID and Name.  | 
     
| 
        training_job_id  | 
      
        Yes  | 
      
        String  | 
      
        ID of a training job.  | 
     
Request Parameters
None
Response Parameters
Status code: 202
No Content
None
Example Requests
The following shows how to delete a training job whose UUID is 3faf5c03-aaa1-4cbe-879d-24b05d997347.
DELETE https://endpoint/v2/{project_id}/training-jobs/3faf5c03-aaa1-4cbe-879d-24b05d997347
 Example Responses
Status code: 202
No Content
""
Status Codes
| 
        Status Code  | 
      
        Description  | 
     
|---|---|
| 
        202  | 
      
        No Content  | 
     
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.