forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Co-authored-by: Lai, Weijian <laiweijian4@huawei.com> Co-committed-by: Lai, Weijian <laiweijian4@huawei.com>
5.1 KiB
5.1 KiB
Modifying the Description of a Training Job
Function
This API is used to modify the description of a training job.
URI
PUT /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. |
training_job_id |
Yes |
String |
ID of a training job. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
description |
No |
String |
Training job description, which consists of 0 to 256 characters. The default value is NULL. |
Response Parameters
None
Example Requests
The following shows how to modify a training job whose UUID is 3faf5c03-aaa1-4cbe-879d-24b05d997347. After the modification is successful, call the Querying a training job API to view the modified description.
PUT https://endpoint/v2/{project_id}/training-jobs/3faf5c03-aaa1-4cbe-879d-24b05d997347 { "description" : "hahaha" }
Example Responses
Status code: 200
No Content
null
Status Codes
Status Code |
Description |
---|---|
200 |
No Content |
Error Codes
See Error Codes.
Parent topic: Training Job Management