> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# drop_catalog

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/drop_catalog.rs#L21-L24)
pub async fn [drop\_catalog](https://docs.kinetica.com/content/api/rust/gpudb/struct.Kinetica/drop-catalog.md#method.drop_catalog)( \&self, name: [String](https://doc.rust-lang.org/1.98.1/alloc/string/struct.String.html), ) -> [Result](https://doc.rust-lang.org/1.98.1/core/result/enum.Result.html)\<[DropCatalogResponse](https://docs.kinetica.com/content/api/rust/generated/api/struct.DropCatalogResponse.md), [KineticaError](https://docs.kinetica.com/content/api/rust/errors/enum.KineticaError.md)>

Drop an existing catalogDrops an existing catalog. Any external tables that depend on the catalog must be dropped before it can be dropped.

##### Arguments

<ul>
  <li>`name` - Name of the catalog to be dropped. Must be an existing catalog.</li>
</ul>

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/drop_catalog.rs#L37-L53)
pub async fn [drop\_catalog\_with\_opts](https://docs.kinetica.com/content/api/rust/gpudb/struct.Kinetica/drop-catalog.md#method.drop_catalog_with_opts)( \&self, name: [String](https://doc.rust-lang.org/1.98.1/alloc/string/struct.String.html), options: [DropCatalogRequestOptions](https://docs.kinetica.com/content/api/rust/generated/api/struct.DropCatalogRequestOptions.md), ) -> [Result](https://doc.rust-lang.org/1.98.1/core/result/enum.Result.html)\<[DropCatalogResponse](https://docs.kinetica.com/content/api/rust/generated/api/struct.DropCatalogResponse.md), [KineticaError](https://docs.kinetica.com/content/api/rust/errors/enum.KineticaError.md)>

Drop an existing catalogDrops an existing catalog. Any external tables that depend on the catalog must be dropped before it can be dropped.

##### Arguments

<ul>
  <li>`name` - Name of the catalog to be dropped. Must be an existing catalog.</li>
  <li>`options` - The optional parameters; any left unset take the server’s defaults.</li>
</ul>

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/drop_catalog.rs#L56-L67)
pub async fn [drop\_catalog\_raw](https://docs.kinetica.com/content/api/rust/gpudb/struct.Kinetica/drop-catalog.md#method.drop_catalog_raw)( \&self, request: &[DropCatalogRequest](https://docs.kinetica.com/content/api/rust/generated/api/struct.DropCatalogRequest.md), ) -> [Result](https://doc.rust-lang.org/1.98.1/core/result/enum.Result.html)\<[DropCatalogResponse](https://docs.kinetica.com/content/api/rust/generated/api/struct.DropCatalogResponse.md), [KineticaError](https://docs.kinetica.com/content/api/rust/errors/enum.KineticaError.md)>

Sends a pre-built [`DropCatalogRequest`](https://docs.kinetica.com/content/api/rust/generated/api/struct.DropCatalogRequest) to the `/drop/catalog` endpoint.

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/drop_catalog.rs#L71-L83)
pub async fn [drop\_catalog\_from\_url](https://docs.kinetica.com/content/api/rust/gpudb/struct.Kinetica/drop-catalog.md#method.drop_catalog_from_url)( \&self, url: &[str](https://doc.rust-lang.org/1.98.1/std/primitive.str.html), request: &[DropCatalogRequest](https://docs.kinetica.com/content/api/rust/generated/api/struct.DropCatalogRequest.md), ) -> [Result](https://doc.rust-lang.org/1.98.1/core/result/enum.Result.html)\<[DropCatalogResponse](https://docs.kinetica.com/content/api/rust/generated/api/struct.DropCatalogResponse.md), [KineticaError](https://docs.kinetica.com/content/api/rust/errors/enum.KineticaError.md)>

Sends a pre-built [`DropCatalogRequest`](https://docs.kinetica.com/content/api/rust/generated/api/struct.DropCatalogRequest) to a specific worker URL, bypassing HA head-node selection. Used for multi-head access.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.