Changing a Job Name
Function
This API is used to change the name of a job.
URI
- Parameter description
Table 1 URI parameters Parameter
Mandatory
Type
Description
project_id
Yes
String
Project ID. For details about how to obtain a project ID, see Project ID and Account ID.
job_name
Yes
String
Job name
Request Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
workspace |
No |
String |
Workspace ID
|
|
X-Auth-Token |
No |
String |
This parameter is mandatory for token authentication. The length of a user token must meet the following requirements: Minimum length: 0 Maximum length: 4096 |
|
Content-Type |
No |
String |
This parameter is mandatory if the body is available. If the body is unavailable, you do not need to set and verify this parameter. Example: Content-Type: application/json;charset=UTF-8 |
|
Authorization |
No |
String |
This field is mandatory for AK/SK authentication. |
|
Host |
No |
String |
This field is mandatory for AK/SK authentication. |
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
name |
Yes |
String |
Job name |
Response Parameters
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
is_success |
Yes |
Boolean |
true or false |
|
status_code |
Yes |
Integer |
Response status code |
Example Request
PUT /v2/62099355b894428e8916573ae635f1f9/factory/jobs/job_2284221/rename
{
"name": "job_4269F"
}
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.