> ## Documentation Index
> Fetch the complete documentation index at: https://agno-v2.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ag infra delete

> Deletes the AgentOS codebase record from Agno config without removing any files.

Delete AgentOS codebase infra record

## Params

**infra\_name** `Optional[str]` (default: None)

Name of the AgentOS codebase to delete, without the `-infra` suffix. When omitted, deletes the active infrastructure record from Agno config. This command does not delete files.

**print\_debug\_log** `bool`

Print debug logs. `--debug` `-d`


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