# Monaco 2.0 | Host Group Change/Creation

**URL:** <https://community.dynatrace.com/t/monaco-2-0-host-group-change-creation/45480>\
**Category:** Open Q&A\
**Tags:** monaco\
**Created:** [May 8, 2024, 7:28am UTC](https://community.dynatrace.com/t/monaco-2-0-host-group-change-creation/45480 "2024-05-08T07:28:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sahil23](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@Sahil23](https://community.dynatrace.com/u/Sahil23)\
**Post date:** [May 8, 2024, 7:28am UTC](https://community.dynatrace.com/t/monaco-2-0-host-group-change-creation/45480/1 "2024-05-08T07:28:20Z")

</div>

Hi all,  
I was just exploring possibilities of configuration management via Monaco.  
Is it possible to change (or create new) the host group parameter using Monaco 2.0?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [May 8, 2024, 9:07am UTC](https://community.dynatrace.com/t/monaco-2-0-host-group-change-creation/45480/2 "2024-05-08T09:07:16Z")

</div>

Hi,

I am not sure if I catch your point, but you can deploy configurations to host groups using host group id. You need to define host group id in “scope” label in your config YAML file. For example:

```markup
configs:
- id: XXXXX
  type:
    settings:
      schema: builtin:os-services-monitoring
      scope: HOST_GROUP-XXXXX
  config:
    name: XXXXX
    template: XXXXX.json

```

This will deploy some specific OS Service monitoring to a specific host group.

Best regards

---

<div class="post-metadata">

**Author:** ![Sahil23](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@Sahil23](https://community.dynatrace.com/u/Sahil23)\
**Post date:** [May 8, 2024, 10:02am UTC](https://community.dynatrace.com/t/monaco-2-0-host-group-change-creation/45480/3 "2024-05-08T10:02:01Z")

</div>

What I was trying to achieve was changing the host group itself, for example I will give a set of host name/ host ids as payload and change the host group parameter for them.  
It is possible using Environment API v2(OneAgent - Remote configuration management). Wanted to explore possibility using Monaco. 🙂

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [May 8, 2024, 2:13pm UTC](https://community.dynatrace.com/t/monaco-2-0-host-group-change-creation/45480/4 "2024-05-08T14:13:03Z")

</div>

Hi,

Sorry, I think that API is not supported today. You can see full list [here](https://docs.dynatrace.com/docs/shortlink/configuration-as-code-supported-configuration#configs).

Best regards
