---
title: "Disable a model for multiple tenants"
method: DELETE
path: "/tenants/models/{model_id}/bulk"
tags: ["Tenant"]
---

# Disable a model for multiple tenants

`DELETE /tenants/models/{model_id}/bulk`

## Request

- Base URL: `https://api.your-domain.com`
- URL: `https://api.your-domain.com/tenants/models/{model_id}/bulk`
- Auth: API key in header `X-API-KEY`
- TypeScript: <https://skmtc.dev/neulandai/apis/neuland-ai-hub-api/docs/tenants/models/:model_id/bulk/delete.ts> (a function with typed inputs; its response is checked against the schema)

Disable an LLM catalog model for all tenants or a list of tenants (superadmin).

## Path parameters

- `model_id` integer, required: ID of the LLM catalog model to disable.

## Query parameters

- `cookie_name` string, nullable

## Request body

- TenantModelBulkIn
  - `all` boolean, nullable: When true, apply to every tenant. Mutually exclusive with `tenant_ids`; exactly one must be provided.
  - `tenant_ids` integer[], nullable: Explicit list of tenant IDs to apply to. Mutually exclusive with `all`; exactly one must be provided.

## Response `204`

Successful Response

## Other responses

- `401`: Missing or invalid authentication.
- `403`: Superadmin privileges required.
- `404`: Catalog model not found, or a target tenant not found.
- `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)
