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

> delete_directory_request — Kinetica Rust API

[gpudb\_api](https://docs.kinetica.com/content/api/rust/index.md)::<wbr />[generated](https://docs.kinetica.com/content/api/rust/generated/index.md)::<wbr />[api](https://docs.kinetica.com/content/api/rust/generated/api/index.md)::<wbr />[constants](https://docs.kinetica.com/content/api/rust/generated/api/constants/index.md)
[Source](https://github.com/kineticadb/kinetica-api-rust/blob/master/crates/gpudb-api/src/generated/api.rs#L29085)&#x20;

Constants for the fields of the `/delete/directory` request.

## Option fields

### `options`

Constants for `options`.

`pub const FALSE: &str = "false";`

`pub const NO_ERROR_IF_NOT_EXISTS: &str = "no_error_if_not_exists";`

If true, no error is returned if specified directory does not exist.

`pub const RECURSIVE: &str = "recursive";`

If true, will delete directory and all files residing in it. If false, directory must be empty for deletion.

`pub const TRUE: &str = "true";`


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