> ## 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.

# Unregister Runtime • AI Agent SDK

> unregister_runtime: Unregister a runtime from the global registry.

# unregister\_runtime

<div className="flex items-center gap-2">
  <Badge color="teal">Function</Badge>
</div>

> This function is defined in the [**registry**](../modules/registry) module.

Unregister a runtime from the global registry.

## Signature

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

## Parameters

<ParamField query="runtime_id" type="str" required={true}>
  Runtime identifier
</ParamField>

### Returns

<ResponseField name="Returns" type="bool">
  True if runtime was found and removed, False otherwise
</ResponseField>

## Uses

* `_global_registry.unregister`

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/runtime/registry.py#L334">
  `praisonaiagents/runtime/registry.py` at line 334
</Card>
