> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo/relay/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo/relay/_mcp/server.

# Function nemo_relay_plugin_activation_clear

> Clear one owned dynamic plugin activation.

Generated from `cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker`.

<pre />

Clear one owned dynamic plugin activation.

This operation is idempotent. A null handle is treated as already cleared. If teardown fails, the error is reported only by the call that performs the teardown. The activation is consumed regardless of the outcome, so a later clear returns success and does not report the earlier error again. Concurrent clear calls for the same handle are serialized, but they must not overlap with `nemo_relay_plugin_activation_free`. The handle allocation remains owned by the caller and must still be passed to `nemo_relay_plugin_activation_free`.

## Safety

`activation` must be a valid activation handle returned by `nemo_relay_initialize_with_dynamic_plugins`, or null. The caller must ensure the handle remains allocated for this call and that `nemo_relay_plugin_activation_free` does not run concurrently with it.