Updates the configuration of a job, such as its priority in the queue.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
paidlc:UpdateJob |
update |
*All Resource
|
None | None |
Request syntax
PUT /api/v1/jobs/{JobId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| JobId |
string |
No |
The ID of the job. For more information, see ListJobs. |
dlc************* |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The job configuration. |
|
| Priority |
integer |
No |
The priority of the job. Valid values are 1 to 9:
|
5 |
| Accessibility |
string |
No |
The visibility of the job. Valid values:
|
PRIVATE |
| JobSpecs |
array |
No |
||
| JobSpec |
No |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| JobId |
string |
The job ID. |
dlc************* |
| RequestId |
string |
The request ID. This ID is used for diagnostics and support. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
Examples
Success response
JSON format
{
"JobId": "dlc*************",
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.