Update the state of an asynchronous job
- PDF of this doc site
Collection of separate PDF docs
Creating your file...
PATCH /cluster/jobs/{uuid}
Updates the state of a specific asynchronous job.
Learn more
Parameters
Name | Type | In | Required | Description | ||
---|---|---|---|---|---|---|
uuid |
string |
path |
True |
Job UUID |
||
action |
string |
query |
False |
Request a job to pause, resume, or cancel.
|
Response
Status: 200, Ok
Error
Status: Default
ONTAP Error Response Codes
Error Code | Description |
---|---|
459753 |
Command execution failed with custom error from the program. |
458762 |
Job is already in a terminal state. |
458773 |
The Job Manager is not initialized. |
458771 |
The specified job is running. |
458776 |
The specified job is not currently running. |
458783 |
This job does not support pause. |
458784 |
This job does not support cancel. |
Name | Type | Description |
---|---|---|
error |
Example error
{
"error": {
"arguments": [
{
"code": "string",
"message": "string"
}
],
"code": "4",
"message": "entry doesn't exist",
"target": "uuid"
}
}
Definitions
See Definitions
error_arguments
Name | Type | Description |
---|---|---|
code |
string |
Argument code |
message |
string |
Message argument |
error
Name | Type | Description |
---|---|---|
arguments |
array[error_arguments] |
Message arguments |
code |
string |
Error code |
message |
string |
Error message |
target |
string |
The target parameter that caused the error. |