---
title: "Delete Gateway Provider"
method: DELETE
path: "/v1/gateway/providers/{provider_id}/"
tags: ["Gateway"]
---

# Delete Gateway Provider

`DELETE /v1/gateway/providers/{provider_id}/`

## Request

- Base URL: `https://logfire-api.pydantic.dev/api`
- URL: `https://logfire-api.pydantic.dev/api/v1/gateway/providers/{provider_id}/`
- Auth: OAuth 2
  - Authorization code: `api/oauth/authorize`
  - Token URL: `/api/oauth/token` scopes: `organization:write_gateway`
- TypeScript: <https://skmtc.dev/pydantic/apis/pydantic-logfire-api/docs/v1/gateway/providers/:provider_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Idempotently delete a supported organization-owned Gateway provider.

## Path parameters

- `provider_id` string, uuid, required

## Response `204`

Successful Response

## Other responses

- `403`: The organization plan does not include Gateway provider management
- `409`: Provider configuration is not supported by this API
- `422`: Validation Error
- `429`: Rate limit exceeded
- `503`: Provider absent, but Gateway did not confirm the refresh

---

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