# Remove object from body, when all parameter fields are empty

**URL:** <https://community.make.com/t/remove-object-from-body-when-all-parameter-fields-are-empty/75050>\
**Category:** Questions\
**Tags:** custom-apps\
**Created:** [March 13, 2025, 3:08pm UTC](https://community.make.com/t/remove-object-from-body-when-all-parameter-fields-are-empty/75050 "2025-03-13T15:08:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yiannis\_Yakoumakis](https://avatars.discourse-cdn.com/v4/letter/y/b19c9b/32.png) [@Yiannis\_Yakoumakis](https://community.make.com/u/Yiannis_Yakoumakis)\
**Post date:** [March 13, 2025, 3:08pm UTC](https://community.make.com/t/remove-object-from-body-when-all-parameter-fields-are-empty/75050/1 "2025-03-13T15:08:44Z")

</div>

I have the below code

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/2/0/2035dbbab9b2ed4437c8ca0f88a55cc5cae7df02.png)

the 4 fields in the compensation\_record object are not required. I want to check if all the fields are empty (or null), to remove the compensation\_record object entirely from the body, before making the call. How to do that?

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex013/uploads/make/original/1X/9786f7887a39f4a0fef4d09346ab5b54ce20222b.svg) [@system](https://community.make.com/u/system)\
**Post date:** [April 12, 2025, 3:09pm UTC](https://community.make.com/t/remove-object-from-body-when-all-parameter-fields-are-empty/75050/2 "2025-04-12T15:09:09Z")

</div>

This topic was automatically closed because it's resolved or inactive. Please, start a new topic.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
