def METHOD_NAME(identifier=None):
    """
    this function deletes an existing smsgateway definition
    :param identifier: The name of the sms gateway definition
    :return: json with success or fail
    """
    res = delete_smsgateway(identifier=identifier)
    g.audit_object.log({"success": res,
                        "info": identifier})
    return send_result(res)