---
metadata:
  - name: generator
    content: Diplodoc Platform v5.66.1
alternate:
  - https://yandex.com/dev/direct/doc/en/best-practice/nillable.md
  - https://yandex.com/dev/direct/doc/ru/best-practice/nillable.md
  - href: https://yandex.com/dev/direct/doc/en/best-practice/nillable.md
    type: text/markdown
    title: Markdown version
  - href: https://yandex.com/dev/direct/doc/en/llms.txt?revision=r22022696
    rel: describedby
sourcePath: en/dg/best-practice/nillable.md
title: null (nil) value
description: How to pass and get the null value for parameters marked as nillable — resetting a parameter in the update and set methods, returning null in the get method
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/dev/direct/doc/en/llms.txt?revision=r22022696


# null (nil) value

Some parameters support `null` values. These parameters are marked as "nillable" in their descriptions.

**JSON**

```javascript
"_field_name_": null
```

**SOAP**

```
<_field_name_ xsi:nil="true">
```

## Resetting (clearing) a parameter

In the `update` and `set` methods, you can pass `null` to delete the value for such a parameter.

## Getting a parameter

If a parameter is requested but its value is not set, the `get` method returns `null`.
