This endpoint updates an existing custom user field in a community.Authorization#
Found in the platform under community settings > API keys.
Permission: User Fields
Community ID
is needed in the path.Found in the platform under community settings > Appearance
.Field ID or name#
The unique identifier (ObjectId) or name (string) of the custom user field to update. There are 2 methods to get the field ID or name1.
Via API
Use the Get All User Fields endpoint to retrive all fields, use the _id
or field
in the response. 2.
Via community settings
In the community settings > User Fields, the Field name
and Field ID
can be found in each field column.
Update#
Only the field's display name and type can be updated.name
: the display name of the field
type
: the type of the field. List of available types:Changing a custom field's data type after it has been populated with data may cause system errors and potential data loss. Always create a new field instead of modifying the type of an existing field that is in use.