Decrement the reference count by 1 for pointer data.
| Key | Description |
|---|---|
| [in] env | The environment in which lynx value runs, typically nullptr. |
| [in] value | lynx_value to be removed ref. |
| [out] ref | lynx_value_ref to be remove if exist. |
Returns lynx_api_ok if the API succeeded.