# Cannot update group owners via Ruby or REST API

**URL:** https://meta.discourse.org/t/cannot-update-group-owners-via-ruby-or-rest-api/98253
**Category:** Development
**Tags:** rest-api
**Created:** [September 28, 2018, 6:17am UTC](https://meta.discourse.org/t/cannot-update-group-owners-via-ruby-or-rest-api/98253 "2018-09-28T06:17:30Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [September 28, 2018, 6:23am UTC](https://meta.discourse.org/t/cannot-update-group-owners-via-ruby-or-rest-api/98253/2 "2018-09-28T06:23:19Z")

</div>

The UI is using the API. Have you tried this?

> [@Reverse engineer the Discourse API](https://meta.discourse.org/t/how-to-reverse-engineer-the-discourse-api/20576):
>
> Discourse is backed by a complete JSON api. Anything you can do on the site you can also do using the JSON api. The API is documented at [docs.discourse.org](https://docs.discourse.org). You can also use the [discourse\_api](https://github.com/discourse/discourse_api) Ruby gem as a client library. However, not every endpoint is documented. To determine how to do something with the JSON API here are some steps you can follow. Example: recategorize a topic. Go to a topic and start editing a category: Open Chrome dev tools, switch to the Network tab, select …

---

_[View the full topic](https://meta.discourse.org/t/cannot-update-group-owners-via-ruby-or-rest-api/98253)._
