def set(isamAppliance, client_id, options, endpoints, discovery_mechanisms,
    check_mode=False, force=False):
    """
    Set MMFA endpoint configuration
    """
    json_data = {'client_id': client_id, 'options': options, 'endpoints':
        endpoints, 'discovery_mechanisms': discovery_mechanisms}
    if check_mode is True:
        return isamAppliance.create_return_object(changed=True)
    else:
        return isamAppliance.invoke_post('Set MMFA endpoint configuration',
            '/iam/access/v8/mmfa-config/', json_data)
