## Delete Agent Config (hard delete)

`agent_configs.delete(stragent_config_id)  -> AgentConfigDeleteResponse`

**delete** `/v5/agent_configs/{agent_config_id}`

Permanently delete an agent config; this is a hard delete, not an archive, so the row is removed and cannot be restored.

Because a config is only a template, deleting it does not stop or alter any task
already created from it. A user caller can only delete a config they created
unless fine-grained access control grants access. The response echoes the
deleted id.

### Parameters

- `agent_config_id: str`

### Returns

- `class AgentConfigDeleteResponse: …`

  - `id: str`

  - `deleted: bool`

  - `object: Optional[Literal["agent_config"]]`

    - `"agent_config"`

### Example

```python
import os
from scale_gp_beta import SGPClient

client = SGPClient(
    api_key=os.environ.get("SGP_API_KEY"),  # This is the default and can be omitted
)
agent_config = client.agent_configs.delete(
    "agent_config_id",
)
print(agent_config.id)
```

#### Response

```json
{
  "id": "id",
  "deleted": true,
  "object": "agent_config"
}
```
