---
title: "Delete a custom source"
method: DELETE
path: "/v1/sources/custom-sources/{custom_source_id}"
tags: ["Sources"]
---

# Delete a custom source

`DELETE /v1/sources/custom-sources/{custom_source_id}`

Delete a custom source. This will also delete the related integration if no other sources exist.

**⚠️ Beta Version**: This endpoint is in beta and may be subject to changes in future releases.

## Path parameters

- `custom_source_id` string, required

## Response `204`

The custom source was deleted successfully

## Other responses

- `400` — Invalid data
- `401` — Invalid API key
- `403` — Forbidden
- `404` — Resource not found
- `503` — API under maintenance

---

[API](https://skmtc.net/gitguardian/apis/gitguardian-api.md) · [All operations](https://skmtc.net/gitguardian/apis/gitguardian-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gitguardian/gitguardian-api/revisions/511b067cdcb1/schema)
