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

# Salesloft: Bulk Jobs Destroy

> Cancel a Salesloft bulk job that has not completed, marking its pending records cancelled. Includes inputs, outputs, SDK V2 examples, and Deepline cost.

Cancel a Salesloft bulk job that has not completed, marking its pending records cancelled.

> [!NOTE]
>
> Tool ID: `salesloft_bulk_jobs_destroy`

## Run this action

Use the TypeScript SDK for one call. Use `ctx.tools.execute(...)` inside a Play for durable calls, scheduled calls, or CSV processing.

```ts theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
import { Deepline } from 'deepline';

const deepline = await Deepline.connect();
const result = await deepline.tools.execute(
  'salesloft_bulk_jobs_destroy',
  {
    "id": 123
  },
);

console.log(result.toolResponse.raw);
```

### CLI

```bash theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
deepline tools execute salesloft_bulk_jobs_destroy --input '{
  "id": 123
}' --json
```

## Example response

The SDK returns this shape at `result.toolResponse.raw`. The example values illustrate the response.

```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
{
  "data": {
    "updated_at": "2026-01-15T12:00:00Z",
    "type": "example",
    "total": 123
  }
}
```

Use `deepline describe salesloft_bulk_jobs_destroy --json` for the latest machine-readable contract.

## Input reference

Cancels a bulk job and marks all pending records as cancelled. Cannot cancel jobs that are already completed. For additional information on bulk jobs, visit the bulk job details page .

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `payload.id` | `integer` | Yes | — | The id for the bulk job to cancel |

<details>
  <summary>Show raw input schema</summary>

  ### Input JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Cancels a bulk job and marks all pending records as cancelled. Cannot cancel jobs that are already completed. For additional information on bulk jobs, visit the bulk job details page .",
    "properties": {
      "id": {
        "type": "integer",
        "description": "The id for the bulk job to cancel"
      }
    },
    "required": [
      "id"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Output reference

Standard tool result payload.

| Name | Type | Required | Default | Details |
| - | - | - | - | - |
| `result.data` | `object` | Yes | — | Provider response payload. |
| `result.data.updated_at` | `string` | No | — | When this bulk job was updated Format: `date-time`. |
| `result.data.type` | `string` | No | — | Type of the Bulk Job. |
| `result.data.total` | `integer` | No | — | Number of total records for this Bulk Job |
| `result.data.state` | `string` | No | — | State of the Bulk Job. Must be one of: open, executing, done. |
| `result.data.started_at` | `string` | No | — | When this bulk job started processing. null until bulk job is done Format: `date-time`. |
| `result.data.scopes` | `array` | No | — | Scopes |
| `result.data.ready_to_execute` | `boolean` | No | — | Whether the Bulk Job is ready to be executed |
| `result.data.processed` | `integer` | No | — | Number of processed records at the time of request for this Bulk Job |
| `result.data.name` | `string` | No | — | Name of this Bulk Job |
| `result.data.marked_ready_at` | `string` | No | — | When this bulk job was marked as ready to execute Format: `date-time`. |
| `result.data.id` | `integer` | No | — | ID of this Bulk Job |
| `result.data.finished_at` | `string` | No | — | When this bulk job finished processing Format: `date-time`. |
| `result.data.errors` | `integer` | No | — | Number of errored records at the time of request for this Bulk Job |
| `result.data.created_at` | `string` | No | — | When this bulk job was created Format: `date-time`. |
| `result.meta` | `object` | No | — | Additional response metadata (status, paging). |

<details>
  <summary>Show raw output schema</summary>

  ### Output JSON Schema

  ```json theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
  {
    "type": "object",
    "description": "Standard tool result payload.",
    "properties": {
      "data": {
        "type": "object",
        "description": "Provider response payload.",
        "properties": {
          "updated_at": {
            "type": "string",
            "description": "When this bulk job was updated",
            "format": "date-time"
          },
          "type": {
            "type": "string",
            "description": "Type of the Bulk Job."
          },
          "total": {
            "type": "integer",
            "description": "Number of total records for this Bulk Job"
          },
          "state": {
            "type": "string",
            "description": "State of the Bulk Job. Must be one of: open, executing, done."
          },
          "started_at": {
            "type": "string",
            "description": "When this bulk job started processing. null until bulk job is done",
            "format": "date-time"
          },
          "scopes": {
            "type": "array",
            "description": "Scopes",
            "items": {
              "type": "string"
            }
          },
          "ready_to_execute": {
            "type": "boolean",
            "description": "Whether the Bulk Job is ready to be executed"
          },
          "processed": {
            "type": "integer",
            "description": "Number of processed records at the time of request for this Bulk Job"
          },
          "name": {
            "type": "string",
            "description": "Name of this Bulk Job"
          },
          "marked_ready_at": {
            "type": "string",
            "description": "When this bulk job was marked as ready to execute",
            "format": "date-time"
          },
          "id": {
            "type": "integer",
            "description": "ID of this Bulk Job"
          },
          "finished_at": {
            "type": "string",
            "description": "When this bulk job finished processing",
            "format": "date-time"
          },
          "errors": {
            "type": "integer",
            "description": "Number of errored records at the time of request for this Bulk Job"
          },
          "created_at": {
            "type": "string",
            "description": "When this bulk job was created",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "meta": {
        "type": "object",
        "description": "Additional response metadata (status, paging).",
        "additionalProperties": true
      }
    },
    "required": [
      "data"
    ],
    "additionalProperties": false
  }
  ```
</details>

## Deepline cost

* Pricing model: `fixed` (per call).
* Estimated Deepline credits: `0` per pricing unit.
* Provider-native pricing may still exist outside Deepline credit billing.

## Related documentation

* [Salesloft provider guide](https://deepline.com/docs/providers/salesloft/guide.md)
* [SDK V2 quickstart](https://deepline.com/docs/sdk-v2/quickstart.md)
* [SDK reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Run tools across a CSV](https://deepline.com/docs/sdk-v2/batch-csv.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.