---
title: "Delete sync job source"
method: POST
path: "/api/v1/delete/syncjob_source"
tags: ["Sync jobs"]
---

# Delete sync job source

`POST /api/v1/delete/syncjob_source`

## Request

- Base URL: `/` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/v1/delete/syncjob_source`
- Auth: API key in header `X-API-Key`

Delete one or more sync job sources by id. Sources still referenced by a sync job cannot be deleted. Delete or repoint the dependent jobs first.

## Request body

- string[]

## Response `200`

OK

- object
  - `log` unknown[]: contains request object
    - unknown
  - `msg` unknown[]
    - unknown
  - `type` 'success' | 'danger' | 'error'

## Other responses

- `401`: Unauthorized

## Changes

- **2026-10-22** `cf82ac1f801a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/mailcow/apis/mailcow-api/changes/api/v1/delete/syncjob_source/post.md)

---

[API](https://skmtc.dev/mailcow/apis/mailcow-api.md) - [All operations](https://skmtc.dev/mailcow/apis/mailcow-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mailcow/apis/mailcow-api/revisions/bc8a5589ddad?raw)
