> ## 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.

# delete_proc

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/delete_proc.rs#L21-L27)
pub async fn [delete\_proc](https://docs.kinetica.com/content/api/rust/gpudb/struct.Kinetica/delete-proc.md#method.delete_proc)( \&self, proc\_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)\<[DeleteProcResponse](https://docs.kinetica.com/content/api/rust/generated/api/struct.DeleteProcResponse.md), [KineticaError](https://docs.kinetica.com/content/api/rust/errors/enum.KineticaError.md)>

Delete a procDeletes a proc. Any currently running instances of the proc will be killed.

##### Arguments

<ul>
  <li>`proc_name` - Name of the proc to be deleted. Must be the name of a currently existing proc.</li>
</ul>

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/delete_proc.rs#L40-L56)
pub async fn [delete\_proc\_with\_opts](https://docs.kinetica.com/content/api/rust/gpudb/struct.Kinetica/delete-proc.md#method.delete_proc_with_opts)( \&self, proc\_name: [String](https://doc.rust-lang.org/1.98.1/alloc/string/struct.String.html), options: [DeleteProcRequestOptions](https://docs.kinetica.com/content/api/rust/generated/api/struct.DeleteProcRequestOptions.md), ) -> [Result](https://doc.rust-lang.org/1.98.1/core/result/enum.Result.html)\<[DeleteProcResponse](https://docs.kinetica.com/content/api/rust/generated/api/struct.DeleteProcResponse.md), [KineticaError](https://docs.kinetica.com/content/api/rust/errors/enum.KineticaError.md)>

Delete a procDeletes a proc. Any currently running instances of the proc will be killed.

##### Arguments

<ul>
  <li>`proc_name` - Name of the proc to be deleted. Must be the name of a currently existing proc.</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/delete_proc.rs#L59-L70)
pub async fn [delete\_proc\_raw](https://docs.kinetica.com/content/api/rust/gpudb/struct.Kinetica/delete-proc.md#method.delete_proc_raw)( \&self, request: &[DeleteProcRequest](https://docs.kinetica.com/content/api/rust/generated/api/struct.DeleteProcRequest.md), ) -> [Result](https://doc.rust-lang.org/1.98.1/core/result/enum.Result.html)\<[DeleteProcResponse](https://docs.kinetica.com/content/api/rust/generated/api/struct.DeleteProcResponse.md), [KineticaError](https://docs.kinetica.com/content/api/rust/errors/enum.KineticaError.md)>

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

[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/delete_proc.rs#L74-L86)
pub async fn [delete\_proc\_from\_url](https://docs.kinetica.com/content/api/rust/gpudb/struct.Kinetica/delete-proc.md#method.delete_proc_from_url)( \&self, url: &[str](https://doc.rust-lang.org/1.98.1/std/primitive.str.html), request: &[DeleteProcRequest](https://docs.kinetica.com/content/api/rust/generated/api/struct.DeleteProcRequest.md), ) -> [Result](https://doc.rust-lang.org/1.98.1/core/result/enum.Result.html)\<[DeleteProcResponse](https://docs.kinetica.com/content/api/rust/generated/api/struct.DeleteProcResponse.md), [KineticaError](https://docs.kinetica.com/content/api/rust/errors/enum.KineticaError.md)>

Sends a pre-built [`DeleteProcRequest`](https://docs.kinetica.com/content/api/rust/generated/api/struct.DeleteProcRequest) 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.