Skip to main content

Aloha,


I am looking for a way to mass add/delete groups in a board using the api.


Can someone give me an example of how this would look adding and deleting 5 groups.


Thank you!!!

Aloha @cfraticelli 👋


You can currently only create or delete a single group at a time via the API. So, for example, do delete 5 groups from a board, you’d need to ping the API endpoint 5 separate times.


Examples of the API calls that will both create a group, or delete a group, can be found here - https://monday.com/developers/v2#mutations-section-groups


Alternatively, depending on your specific use case, you can also create a custom template within monday.com, and then create an entirely new board with pre-set groups on it from that template. To do this, you’d specifically use the template_id argument here - https://monday.com/developers/v2#mutations-section-boards-create


-Scott