Modifying the Description of a Visualization Job
Function
This API is used to modify the description of a visualization job.
URI
PUT /v1/{project_id}/visualization-jobs/{job_id}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. For details about how to obtain a project ID, see Obtaining a Project ID and Name. |
job_id |
Yes |
String |
ID of a visualization job |
Request Body
Response Body
Parameter |
Type |
Description |
---|---|---|
is_success |
Boolean |
Whether the request is successful |
error_code |
String |
Error code of a failed API call. For details, see Error Codes. This parameter is not included when the API call succeeds. |
error_message |
String |
Error message of a failed API call. This parameter is not included when the API call succeeds. |
Sample Request
The following shows how to modify the description of the visualization job whose ID is 10 to This is a ModelArts job.
PUT https://endpoint/v1/{project_id}/visualization-jobs/10 { "job_desc": "This is a ModelArts job" }
Sample Response
- Successful response
{ "is_success": true }
- Failed response
{ "is_success": false, "error_message": "Illegal name: %%123", "error_code": "ModelArts.0104" }
Status Code
For details about the status code, see Table 1.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot