用于更改类别组的 API

Yes, everything in Discourse has an API. You can learn the API endpoints for stuff you see in the UI using How to reverse engineer the Discourse API