POST /api/job_invocations/82/cancel
{
"job_invocation": {}
}
422
{
"message": "The job could not be cancelled."
}
| Param name | Description |
|---|---|
|
location_id
optional |
Set the current location context for the request Validations:
|
|
organization_id
optional |
Set the current organization context for the request Validations:
|
|
id
required |
Validations:
|
|
force
optional |
Validations:
|
|
search
optional |
Search query to cancel tasks only on matching hosts. If not provided, the whole job invocation will be cancelled. Validations:
|