> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# /admin/alter/jobs

```
URL: http://<db.host>:<db.port>/admin/alter/jobs
```

Perform the requested action on a list of one or more job(s). Based on the type
of job and the current state of execution, the action may not be successfully
executed. The final result of the attempted actions for each specified job is
returned in the status array of the response. See
[Job Manager](../../admin/job_manager/) for more information.

## Input Parameter Description

<ParamField body="job_ids" type="array of longs">
  Jobs to be modified.
</ParamField>

<ParamField body="action" type="string">
  Action to be performed on the jobs specified by job\_ids.

  The supported values are:

  * cancel
</ParamField>

<ParamField body="options" type="map of string to strings">
  Optional parameters.

  The default value is an empty map ( \{} ).

  <Expandable title="options">
    <ParamField body="job_tag">
      Job tag returned in call to create the job.
    </ParamField>
  </Expandable>
</ParamField>

## Output Parameter Description

The Kinetica server embeds the endpoint response inside a standard response structure which contains status information and the actual response to the query.  Here is a description of the various fields of the wrapper:

<ResponseField name="status" type="String">
  'OK' or 'ERROR'
</ResponseField>

<ResponseField name="message" type="String">
  Empty if success or an error message
</ResponseField>

<ResponseField name="data_type" type="String">
  'admin\_alter\_jobs\_response' or 'none' in case of an error
</ResponseField>

<ResponseField name="data" type="String">
  Empty string
</ResponseField>

<ResponseField name="data_str" type="JSON or String">
  This embedded JSON represents the result of the /admin/alter/jobs endpoint:

  <Expandable title="data_str">
    <ResponseField name="job_ids" type="array of longs">
      Jobs on which the action was performed.
    </ResponseField>

    <ResponseField name="action" type="string">
      Action requested on the jobs.
    </ResponseField>

    <ResponseField name="status" type="array of strings">
      Status of the requested action for each job.
    </ResponseField>

    <ResponseField name="info" type="map of string to strings">
      Additional information.
    </ResponseField>
  </Expandable>

  Empty string in case of an error.
</ResponseField>
