Modifying a Job Template
Function
This API is used to modify a job template.
URI
- URI format
- Parameter description
Table 1 URI parameters Parameter
Mandatory
Type
Description
project_id
Yes
String
Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.
template_id
Yes
String
Template ID.
Request
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
name |
Yes |
String |
Template name |
body |
Yes |
String |
Template content |
group |
No |
String |
Template group |
description |
No |
String |
Description of the template |
Response
Parameter |
Type |
Description |
---|---|---|
is_success |
Boolean |
Whether the request is successfully executed. Value true indicates that the request is successfully executed. |
message |
String |
System prompt. If execution succeeds, the message may be left blank. |
Example Request
Modify the name and content of a job template.
{ "name": "test1", "body":"ss" }
Example Response
{ "is_success": true, "message": "" }
Status Codes
Status Code |
Description |
---|---|
200 |
OK |
Error Codes
For details, see Error Codes.
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