# update: multi-select

**URL:** <https://forum.asana.com/t/update-multi-select/144861>\
**Category:** API & Developers\
**Tags:** custom-fields\
**Created:** [1 December 2021 18:17 UTC](https://forum.asana.com/t/update-multi-select/144861 "2021-12-01T18:17:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Artemis\_X](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/artemis_x/32/90270_2.png) [@Artemis\_X](https://forum.asana.com/u/Artemis_X)\
**Post date:** [1 December 2021 18:17 UTC](https://forum.asana.com/t/update-multi-select/144861/1 "2021-12-01T18:17:59Z")

</div>

Because there is not much information available about the custom field update by api.  
The only i could do is to suspect an abstracted api solution.

using the “GET /projects/:project\_gid/tasks”  
this is the response I have … for “enum\_options” and “multi\_enum\_values”

* * *

{  
“data”: [  
{  
“gid”: “1201142848114842”,  
“custom\_fields”: [  
{  
“gid”: “1201451718124486”,  
“enum\_options”: [  
{  
“gid”: “1111111111111111”,  
“name”: “9001:2015”,  
},  
{  
“gid”: “2222222222222222”,  
“name”: “27001:2013”,  
},  
{  
“gid”: “3333333333333333”,  
“name”: “14001:2016”,  
},  
{  
“gid”: “4444444444444444”,  
“name”: “22301:2019”,  
},  
{  
“gid”: “5555555555555555”,  
“name”: “45001:2018”,  
}  
],

```
      "multi_enum_values": [
        {
          "gid": "1111111111111111",
          "name": "9001:2015",
        },
        {
          "gid": "2222222222222222",
          "name": "27001:2013",
        },
        {
          "gid": "5555555555555555",
          "name": "45001:2018",
        }
      ],

      "name": "ISO",
      },

      "display_value": "9001:2015, 27001:2013, 45001:2018",
      "resource_subtype": "multi_enum",
      "resource_type": "custom_field",
      "type": "multi_enum"
    },

```

* * *

Now i want to change the multi-select  
from … **“display\_value”: “9001:2015, 27001:2013, 45001:2018”**  
to … **“display\_value”: “14001:2016, 22301:2019”**

* * *

using the follow:

“PUT”  
[https://app.asana.com/api/1.0/tasks/9999999999999999](https://app.asana.com/api/1.0/tasks/9999999999999999)

## { “data”: { “custom\_fields”: { “1201451718124486”: “3333333333333333” } } }

but somehow needs to pass an array for setting a multi-select custom field  
and seems i’m not enough smart, how to do it!  
so i need a little HELP.

Thank you!

---

<div class="post-metadata">

**Author:** ![Phil\_Seeman](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/phil_seeman/32/81525_2.png) [@Phil\_Seeman](https://forum.asana.com/u/Phil_Seeman)\
**Post date:** [1 December 2021 23:00 UTC](https://forum.asana.com/t/update-multi-select/144861/2 "2021-12-01T23:00:22Z")

</div>

> [@Artemis\_X](#):
>
> {  
> “data”: {  
> “custom\_fields”: {  
> “1201451718124486”: “3333333333333333”  
> }  
> }  
> }

I haven’t tried it yet, but try adding square brackets:

```auto
{
    “data”: {
        “custom_fields”: {
            “1201451718124486”: [“3333333333333333”]
        }
    }
}
```

---

<div class="post-metadata">

**Author:** ![Artemis\_X](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/artemis_x/32/90270_2.png) [@Artemis\_X](https://forum.asana.com/u/Artemis_X)\
**Post date:** [2 December 2021 08:24 UTC](https://forum.asana.com/t/update-multi-select/144861/3 "2021-12-02T08:24:52Z")

</div>

Indeed it works this way for “multi\_enum” (multi-selector custom field).  
Just inside the brackets we type all the “enum\_options” id’s.

{  
“data”: {  
“custom\_fields”: {  
“1201451718124486”:[“1201451720171180”,“1201451720171167”,“1201451720171188”]  
}  
}  
}

Thank you Phil !

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/system/32/276370_2.png) [@system](https://forum.asana.com/u/system)\
**Post date:** [30 May 2025 18:56 UTC](https://forum.asana.com/t/update-multi-select/144861/4 "2025-05-30T18:56:38Z")

</div>

Closed on 30 May 2025 18:56 UTC


