# issues building json body for rest api update

**URL:** <https://forum.ansible.com/t/issues-building-json-body-for-rest-api-update/33108>\
**Category:** Ansible Project\
**Created:** [June 6, 2020, 3:30pm UTC](https://forum.ansible.com/t/issues-building-json-body-for-rest-api-update/33108 "2020-06-06T15:30:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sebastien\_Morissette](https://avatars.discourse-cdn.com/v4/letter/s/df705f/32.png) [@sebastien\_Morissette](https://forum.ansible.com/u/sebastien_Morissette)\
**Post date:** [June 6, 2020, 3:30pm UTC](https://forum.ansible.com/t/issues-building-json-body-for-rest-api-update/33108/1 "2020-06-06T15:30:24Z")

</div>

Hi, I am trying to update an object on an rest api endpoing and I need to build the proper json structure.

I am getting unwanted extra sets of quotes in my activateRegions list and I do not know how to remove them or build this in another way… i’m really close just missing something… any thoughts or help is welcome, thanks
