def create_endpoint(body, model_id=None):  # noqa: E501
    """Create Endpoint

    Create a Model Endpoint # noqa: E501

    :param endpoint_creation: Required Endpoint definition
    :type endpoint_creation: dict | bytes
    :param model_id: ID of model
    :type model_id: str

    :rtype: Endpoint
    """

    return 'do some magic!'