---
title: "Disable a connector for a tenant"
method: DELETE
path: "/tenants/{tenant_id}/connectors/{connector_id}"
tags: ["Tenant"]
---

# Disable a connector for a tenant

`DELETE /tenants/{tenant_id}/connectors/{connector_id}`

## Request

- Base URL: `https://api.your-domain.com`
- URL: `https://api.your-domain.com/tenants/{tenant_id}/connectors/{connector_id}`
- Auth: API key in header `X-API-KEY`

Disable a connector for a tenant (superadmin or parent tenant admin).

## Path parameters

- `tenant_id` integer, required
- `connector_id` integer, required: ID of the connector to disable.

## Query parameters

- `cookie_name` string, nullable

## Response `204`

Successful Response

## Other responses

- `401`: Missing or invalid authentication.
- `403`: Superadmin or parent tenant admin required.
- `404`: The connector is not enabled for the tenant.
- `422`: Validation Error

---

[API](https://skmtc.dev/neulandai/apis/neuland-ai-hub-api.md) - [All operations](https://skmtc.dev/neulandai/apis/neuland-ai-hub-api/llms.txt) - [OpenAPI document](https://skmtc.dev/neulandai/apis/neuland-ai-hub-api/revisions/b53e89b98c2b?raw)
