# Mautic REST API - "false" overwriteWithBlank attribute in PUT request overwrites with blank anyway

**URL:** <https://forum.mautic.org/t/mautic-rest-api-false-overwritewithblank-attribute-in-put-request-overwrites-with-blank-anyway/18102>\
**Category:** Product Support\
**Created:** [February 9, 2021, 8:21pm UTC](https://forum.mautic.org/t/mautic-rest-api-false-overwritewithblank-attribute-in-put-request-overwrites-with-blank-anyway/18102 "2021-02-09T20:21:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pixgrim](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/pixgrim/32/4310_2.png) [@pixgrim](https://forum.mautic.org/u/pixgrim)\
**Post date:** [February 9, 2021, 8:21pm UTC](https://forum.mautic.org/t/mautic-rest-api-false-overwritewithblank-attribute-in-put-request-overwrites-with-blank-anyway/18102/1 "2021-02-09T20:21:53Z")

</div>

**Your software**  
My Mautic version is: 3.2.5  
My PHP version is: PHP Version 7.3.24-3+0~20201103.72+debian9~1.gbp945915  
My Database type and version is: MariaDB 10.5.8

**What I expected**  
HTTP request PUT (/contacts/ID/edit) should not overwrite empty fields with blank when overwriteWithBlank is set to false  
(cf. [Mautic Developer Documentation](https://developer.mautic.org/#edit-contact) ==\> overwriteWithBlank: If true, then empty values are set to fields. Otherwise empty values are skipped)

Language used : NodeJS + Axios module for HTTP requests

**My problem**  
HTTP request PUT (/contacts/ID/edit) request that overwrites all empty contact fields to blank, regardless the attribute overwriteWithBlank set to false.

**Steps I have tried to fix the problem**  
I tried overwriteWithBlank set to true as well, I get the same result. empty fields set to blank.

Can I get some guidance to use the overwriteWithBlank property in the appropriate way?

---

<div class="post-metadata">

**Author:** ![pixgrim](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/pixgrim/32/4310_2.png) [@pixgrim](https://forum.mautic.org/u/pixgrim)\
**Post date:** [February 11, 2021, 6:33am UTC](https://forum.mautic.org/t/mautic-rest-api-false-overwritewithblank-attribute-in-put-request-overwrites-with-blank-anyway/18102/2 "2021-02-11T06:33:18Z")

</div>

I see that it is covered on GitHub.

> <https://github.com/mautic/mautic/pull/9363>

Just got to be patient. 🙂
