# 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:** [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:** 3

<div class="post-metadata">

**Author:** ![typeoneerror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/typeoneerror/32/80817_2.png) [@typeoneerror](https://meta.discourse.org/u/typeoneerror)\
**Post date:** [28 בספטמבר,‏ 2018,‏ 6:25am UTC](https://meta.discourse.org/t/cannot-update-group-owners-via-ruby-or-rest-api/98253/3 "2018-09-28T06:25:30Z")

</div>

Thanks, Régis. I’m not seeing anything for ownership in [discourse\_api/lib/discourse\_api/api/groups.rb at main · discourse/discourse\_api · GitHub](https://github.com/discourse/discourse_api/blob/master/lib/discourse_api/api/groups.rb). I was just checking to make sure I wasn’t missing something. I can certainly just do a put request to the `/admin/groups/:group_name/owners` API endpoint directly without a method in the Ruby API.

---

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