# Ändern der benutzerdefinierten Benutzerfeld-ID#

**URL:** <https://meta.discourse.org/t/changing-custom-user-field-id/86323>\
**Category:** Support\
**Created:** [27. April 2018 um 17:59 UTC](https://meta.discourse.org/t/changing-custom-user-field-id/86323 "2018-04-27T17:59:18Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Denis\_Heraud](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/denis_heraud/32/119623_2.png) [@Denis\_Heraud](https://meta.discourse.org/u/Denis_Heraud)\
**Post date:** [27. April 2018 um 17:59 UTC](https://meta.discourse.org/t/changing-custom-user-field-id/86323/1 "2018-04-27T17:59:18Z")

</div>

We had our webmaster adjust our SSO to pass data to some custom user fields. Sadly he didn’t assign them the right field ID’s. Is there any way that I, on my end, can change our custom user field ID’s in (or out) of Discourse?

I tried deleting all of our user fields and starting over thinking they would reset and start at 1, but unfortunately they start at 6 instead (since I had previously created 5 user fields).

i.e. `"user_fields":[{"id":6,"name":"Membership Type","description":"Membership Type"...`

EDIT: On a side note, why isn’t this information visible in the Admin interface? If I’m creating a bunch of user fields, how would I even know what their ID is in the first place? The 1,2,3,4… convention only really works if you a) never delete a user field; and b) never move a user field up or down.

EDIT 2: Maybe these can be changed through Rails?

---

_[View the full topic](https://meta.discourse.org/t/changing-custom-user-field-id/86323)._
