# unset

The unset() method for the SurrealDB Mojo SDK removes a parameter for this connection.

Removes a parameter previously assigned with [`set()`](/docs/reference/mojo/methods/set.md).

```python title="Method Syntax"
client.unset(name, session)
```

## Arguments

<table>
    <thead>
        <tr>
            <th colspan="2" scope="col">Argument</th>
            <th colspan="2" scope="col">Description</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td colspan="2" scope="row" data-label="Argument"><code>name</code></td>
            <td colspan="2" scope="row" data-label="Description">The parameter name to remove.</td>
        </tr>
        <tr>
            <td colspan="2" scope="row" data-label="Argument"><code>session</code></td>
            <td colspan="2" scope="row" data-label="Description">An optional session id.</td>
        </tr>
    </tbody>
</table>

## Example usage

```python
client.unset("name")
```
