---
title: "Delete a custom provider"
method: DELETE
path: "/api/providers/{provider_id}/"
tags: ["Models"]
---

# Delete a custom provider

`DELETE /api/providers/{provider_id}/`

## Request

- Base URL: `https://api.respan.ai`
- URL: `https://api.respan.ai/api/providers/{provider_id}/`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

## Path parameters

- `provider_id` string, required

## Response `204`

Deleted.

## Other responses

- `403`: The API key is missing, invalid or expired, or it doesn't have permission for this action.
- `404`: Not Found

## Changes

- **2026-10-21** `c30bcb383ee8`: 1 breaking, 5 info
  - removed the success response with the status `200`
  - api operation id `models_deleteCustomProvider` removed and replaced with `deleteCustomProvider`
  - the endpoint scheme security `DashboardJwt` was added to the API
  - api tag `Models` added
  - …2 more
- **2026-10-02** `b830b79cfd52`: 1 warning, 2 info
  - removed the optional property `error` from the response with the `403` status
  - removed the non-success response with the status `401`
  - the response property `detail` became required for the status `403`
- **2026-09-17** `6fa8242da8c2`: 1 warning, 1 info
  - deleted the `header` request parameter `Authorization`
  - the endpoint scheme security `RespanApiKey` was added to the API
- **2026-09-12** `22b868ef3f22`: 1 info
  - api operation id `delete-custom-provider` removed and replaced with `models_deleteCustomProvider`
- **2026-08-13** `4e064cf81dae`: 3 info
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`
  - added the non-success response with the status `404`

[Operation history](https://skmtc.dev/keywordsai/apis/respan-api/changes/api/providers/:provider_id/delete.md)

---

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