---
title: "Delete a trigger"
method: DELETE
path: "/v6/jobs/{jobId}/triggers/{triggerId}"
tags: ["File Validation Monitors"]
---

# Delete a trigger

`DELETE /v6/jobs/{jobId}/triggers/{triggerId}`

## Request

- Base URL: `https://api.extole.io`
- URL: `https://api.extole.io/v6/jobs/{jobId}/triggers/{triggerId}`
- Auth: one of:
  - API key in header `Authorization`
  - API key in query parameter `access_token`
  - API key in cookie `extole_token`
- TypeScript: <https://skmtc.dev/extole/apis/integration-api-server-to-extole/docs/v6/jobs/:jobId/triggers/:triggerId/delete.ts> (a function with typed inputs; its response is checked against the schema)

Soft-deletes the trigger.

## Path parameters

- `jobId` string, required
- `triggerId` string, required

## Response `200`

Successful response

- union
  - object
    - `id` string, required
    - `trigger_type` 'FILE_NAME_MATCHES', required
    - `match_type` 'EXACT' | 'REGEX', required
    - `pattern` string, required
  - object
    - `id` string, required
    - `trigger_type` 'LANDS_IN_DIRECTORY', required
    - `directory_path` string, required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `402`: Payment Required
- `403`: Forbidden
- `415`: Unsupported Media Type
- `429`: Too Many Requests

---

[API](https://skmtc.dev/extole/apis/integration-api-server-to-extole.md) - [All operations](https://skmtc.dev/extole/apis/integration-api-server-to-extole/llms.txt) - [OpenAPI document](https://skmtc.dev/extole/apis/integration-api-server-to-extole/revisions/c16e62e66755?raw)
