How to change user fields with API

/admin/customize/user_fields is a UI page where the custom user fields are configured.