def METHOD_NAME(self, user, data=None, **options):
    """
    Add or remove a custom user configuration.
    PATH: /{apiVersion}/users/{user}/configs/update
    :param dict data: JSON containing anything useful for the application
        such as user or default preferences. When removing, only the id
        will be necessary. (REQUIRED)
    :param str user: User ID. (REQUIRED)
    :param str action: Action to be performed: ADD or REMOVE a group.
        Allowed values: ['ADD REMOVE']
    """
    return self._post(category='users', resource='update', query_id=user, subcategory='configs', data=data, **options)