> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Disable Pii Redaction • AI Agent SDK

> disable_pii_redaction: Unregister the PII-redaction hook. No-op if never enabled.

# disable\_pii\_redaction

Function

> This function is defined in the [**redact**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/redact.md) module.

Unregister the PII-redaction hook. No-op if never enabled.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def disable_pii_redaction() -> bool
```

### Returns

**Returns** `bool`

The result of the operation.

## Uses

* `get_default_registry`
* `reg.unregister`

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/trace/redact.py#L219)
>
> `praisonaiagents/trace/redact.py` at line 219


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