---
metadata:
  - name: generator
    content: Diplodoc Platform v5.52.0
alternate:
  - https://ydb.tech/docs/en/reference/ydb-cli/profile/delete.md?version=v25.3
  - https://ydb.tech/docs/ru/reference/ydb-cli/profile/delete.md?version=v25.3
  - href: en/reference/ydb-cli/profile/delete.md
    type: text/markdown
    title: Markdown version
  - href: ../../../llms.txt
    type: text/markdown
    title: llms.txt
sourcePath: en/core/reference/ydb-cli/profile/delete.md
---
> **Documentation Index:** Fetch the complete configuration index at https://ydb.tech/docs/en/llms.txt

<!-- source: en/reference/ydb-cli/profile/_includes/delete.md -->
# Deleting a profile

Currently, you can only delete profiles interactively with the following command:

```bash
ydb config profile delete <profile_name>
```

where `<profile_name>` is the profile name.

The YDB CLI will request confirmation to delete the profile:

```text
Profile "<profile_name>" will be permanently removed. Continue? (y/n):
```

Choose `y` (Yes) to delete the profile.

## Example {#example}

Deleting the `mydb1` profile:

```bash
$ ydb config profile delete mydb1
Profile "mydb1" will be permanently removed. Continue? (y/n): y
Profile "mydb1" was removed.
```

## Deleting a profile without interactive input {#non-interactive}

Although this mode is not supported by the YDB CLI, if necessary, you can use input redirection in your OS to automatically respond `y` to the request to confirm the deletion:

```bash
echo y | ydb config profile delete my_profile
```

The efficiency of this method is not guaranteed in any way.
<!-- endsource: en/reference/ydb-cli/profile/_includes/delete.md -->
