# Passing params to delete API method using golang

**URL:** <https://meta.discourse.org/t/passing-params-to-delete-api-method-using-golang/83502>\
**Category:** Development\
**Created:** [March 21, 2018, 6:17pm UTC](https://meta.discourse.org/t/passing-params-to-delete-api-method-using-golang/83502 "2018-03-21T18:17:47Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![mikechristopher](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mikechristopher/32/89135_2.png) [@mikechristopher](https://meta.discourse.org/u/mikechristopher)\
**Post date:** [March 21, 2018, 9:48pm UTC](https://meta.discourse.org/t/passing-params-to-delete-api-method-using-golang/83502/4 "2018-03-21T21:48:01Z")

</div>

It should be user\_id from what I can see in the docs

> **[Discourse API Docs](https://docs.discourse.org/#tag/Groups%2Fpaths%2F~1groups~1%7Bgroup_id%7D~1members.json%2Fdelete)**

What are you getting in the env tab of the logs - it should show you the form data coming through

Stupid question but am guessing you are also sending the api\_key and api\_username through the form data as well?

---

_[View the full topic](https://meta.discourse.org/t/passing-params-to-delete-api-method-using-golang/83502)._
