# DeleteOutcome

> **Class** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/auth_store/DeleteOutcome)

Result of a credential delete that may have warnings to surface.

A delete rewrites the whole store, so it can hit the same chmod failures as
a write. `warnings` carries them symmetrically with `WriteOutcome` so a
caller's "removed" confirmation doesn't paper over a store the delete
failed to lock down to owner-only.

## Signature

```python
DeleteOutcome(
    self,
    removed: bool,
    warnings: tuple[str, ...] = tuple(),
)
```

## Constructors

```python
__init__(
    self,
    removed: bool,
    warnings: tuple[str, ...] = tuple(),
) -> None
```

| Name | Type |
|------|------|
| `removed` | `bool` |
| `warnings` | `tuple[str, ...]` |


## Properties

- `removed`
- `warnings`

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/e4c1ffe9ee63d7854147de490ca27495ef157a7b/libs/code/deepagents_code/auth_store.py#L113)