# 「사용자 업데이트」 API를 사용해 「flair\_group\_id」 필드를 업데이트하는 방법?

**URL:** https://meta.discourse.org/t/how-to-use-the-update-a-user-api-to-update-the-flair-group-id-field/277833
**Category:** Development
**Tags:** rest-api
**Created:** [9월 5, 2023, 7:44오전 UTC](https://meta.discourse.org/t/how-to-use-the-update-a-user-api-to-update-the-flair-group-id-field/277833 "2023-09-05T07:44:38Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![corot2a](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/corot2a/32/324291_2.png) [@corot2a](https://meta.discourse.org/u/corot2a)
#### Post date: [9월 5, 2023, 7:44오전 UTC](https://meta.discourse.org/t/how-to-use-the-update-a-user-api-to-update-the-flair-group-id-field/277833/1 "2023-09-05T07:44:38Z")

</div>

요청 본문은 다음과 같습니다:

```plaintext
{
"flair_group_id": "42"
}

```

응답에는 "success"가 "ok"로 표시되지만, 실제로는 적용되지 않는 것을 확인했습니다. 해결 방법이 있을까요?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [9월 5, 2023, 2:14오후 UTC](https://meta.discourse.org/t/how-to-use-the-update-a-user-api-to-update-the-flair-group-id-field/277833/2 "2023-09-05T14:14:42Z")

</div>

만약 `flare_group_id`를 변경하려면 해당 그룹에 사용자를 추가해야 한다고 생각합니다. 코드를 대충 살펴본 바로는, 사용자 모델이 아니라 그룹 모델에서 이를 제어하는 것 같습니다.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [10월 5, 2023, 2:15오후 UTC](https://meta.discourse.org/t/how-to-use-the-update-a-user-api-to-update-the-flair-group-id-field/277833/3 "2023-10-05T14:15:11Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
